From 9da72dfee46e13f779581162e34ea5b2e0be0298 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 29 Dec 2016 09:50:21 +0100 Subject: [PATCH] Fix script --- generate_config.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/generate_config.sh b/generate_config.sh index 19b839a9..0af127b1 100755 --- a/generate_config.sh +++ b/generate_config.sh @@ -12,10 +12,8 @@ if [[ -f mailcow.conf ]]; then esac fi -echo -ne "\e[1mHostname:\e[0m " -read -ei "mx.example.org" MAILCOW_HOSTNAME -echo -ne "\e[1mTimezone:\e[0m " -read -ei "Europe/Berlin" TZ +read -p "Hostname (FQDN): " -i "mx.example.org" MAILCOW_HOSTNAME +read -p "Timezone: " -i "Europe/Berlin" TZ cat << EOF > mailcow.conf # ------------------------------