Merge branch 'master' into dev

This commit is contained in:
André Peters
2017-01-29 22:26:06 +01:00
committed by GitHub
2 changed files with 8 additions and 2 deletions

View File

@@ -12,8 +12,13 @@ if [[ -f mailcow.conf ]]; then
esac
fi
read -p "Hostname (FQDN): " -ei "mx.example.org" MAILCOW_HOSTNAME
read -p "Timezone: " -ei "Europe/Berlin" TZ
if [ -z "$MAILCOW_HOSTNAME" ]; then
read -p "Hostname (FQDN): " -ei "mx.example.org" MAILCOW_HOSTNAME
fi
if [ -z "$TZ" ]; then
read -p "Timezone: " -ei "Europe/Berlin" TZ
fi
cat << EOF > mailcow.conf
# ------------------------------