diff --git a/add_dkim_key.sh b/add_dkim_key.sh index a65e89b..2c8ed53 100755 --- a/add_dkim_key.sh +++ b/add_dkim_key.sh @@ -310,7 +310,7 @@ if $terminal ; then echo "" echo "" - if [[ -n "${DEFAULT_KEY_SECRET}" ]] ; then + if [[ -n "${DEFAULT_DNS_DKIM_ZONE_MASTER_SERVER}" ]] ; then echononl " DNS master server [${DEFAULT_DNS_DKIM_ZONE_MASTER_SERVER}]: " read DNS_DKIM_ZONE_MASTER_SERVER if [[ "X$DNS_DKIM_ZONE_MASTER_SERVER" = "X" ]] ; then @@ -318,10 +318,10 @@ if $terminal ; then fi else echononl " DNS master server: " - read KEY_SECRET - while [[ "X$KEY_SECRET" = "X" ]] ; do + read DNS_DKIM_ZONE_MASTER_SERVER + while [[ "X$DNS_DKIM_ZONE_MASTER_SERVER" = "X" ]] ; do echo -e "\n\t\033[33m\033[1mEingabe erforderlich.\033[m\n" - echononl " Key secret: " + echononl " DNS master server: " read KEY_SECRET done fi