add_dkim_key.sh: fix error in setting DNS Master Server.
This commit is contained in:
parent
78a1610517
commit
9ca9c86b22
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user