Fixed oopsie
This commit is contained in:
@@ -227,9 +227,9 @@ if [ $IMODE = n ]; then
|
|||||||
if [ $TestMode = 0 ]; then
|
if [ $TestMode = 0 ]; then
|
||||||
domain=$(whiptail --nocancel --inputbox " Enter the domain without WWW " 11 82 --title "Config" 3>&1 1>&2 2>&3)
|
domain=$(whiptail --nocancel --inputbox " Enter the domain without WWW " 11 82 --title "Config" 3>&1 1>&2 2>&3)
|
||||||
if (whiptail --title "Config" --yesno "Does www.${domain} exist in DNS?" 11 82 ); then
|
if (whiptail --title "Config" --yesno "Does www.${domain} exist in DNS?" 11 82 ); then
|
||||||
sslenable=1
|
domainwww=1
|
||||||
else
|
else
|
||||||
sslenable=0
|
domainwww=0
|
||||||
fi
|
fi
|
||||||
if (whiptail --title "Config" --yesno "Set sitename to ${domain//./_} ?" 8 78 ); then
|
if (whiptail --title "Config" --yesno "Set sitename to ${domain//./_} ?" 8 78 ); then
|
||||||
sitename=${domain//./_}
|
sitename=${domain//./_}
|
||||||
|
|||||||
Reference in New Issue
Block a user