Not of any use as of today

This commit is contained in:
andryyy
2017-02-21 22:26:14 +01:00
parent f13df1ec46
commit 47a7aa7807
2 changed files with 16 additions and 0 deletions

View File

@@ -16,8 +16,11 @@ if [ -z "$MAILCOW_HOSTNAME" ]; then
read -p "Hostname (FQDN): " -ei "mx.example.org" MAILCOW_HOSTNAME
fi
[[ -a /etc/timezone ]] && TZ=$(cat /etc/timezone)
if [ -z "$TZ" ]; then
read -p "Timezone: " -ei "Europe/Berlin" TZ
else
read -p "Timezone: " -ei ${TZ} TZ
fi
cat << EOF > mailcow.conf