From 71319cd9eb90ac86d86d9159bb62c88f7214c5aa Mon Sep 17 00:00:00 2001 From: Tudor Georgescu Date: Wed, 8 Mar 2017 17:46:07 +0000 Subject: [PATCH] Second read in the if loop break automation as both cases in the loop require user input, removing else to allow for automation --- generate_config.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/generate_config.sh b/generate_config.sh index ae3862a8..6b544c19 100755 --- a/generate_config.sh +++ b/generate_config.sh @@ -19,8 +19,6 @@ 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