Disabled menu's, enabled static vars

This commit is contained in:
b.waal
2019-09-17 22:48:53 +02:00
parent 9f6e8c4d75
commit 44134cb2f4

View File

@@ -31,17 +31,17 @@ if (whiptail --title "Ubuntu 18.04 Mail Server" --yesno "Do you want to install
clear clear
exit exit
fi fi
password=$(whiptail --nocancel --passwordbox "Please enter your password (should contain at least 2 digits and 6 characters)" 8 82 --title "Config" 3>&1 1>&2 2>&3) #password=$(whiptail --nocancel --passwordbox "Please enter your password (should contain at least 2 digits and 6 characters)" 8 82 --title "Config" 3>&1 1>&2 2>&3)
domain=$(whiptail --nocancel --inputbox "Enter the Domain without www or mail." 8 41 --title "Config" 3>&1 1>&2 2>&3) #domain=$(whiptail --nocancel --inputbox "Enter the Domain without www or mail." 8 41 --title "Config" 3>&1 1>&2 2>&3)
email=$(whiptail --nocancel --inputbox "Enter the Administrator E-mail" 8 34 --title "Config" 3>&1 1>&2 2>&3) #email=$(whiptail --nocancel --inputbox "Enter the Administrator E-mail" 8 34 --title "Config" 3>&1 1>&2 2>&3)
elif [ $IMODE = l ]; then elif [ $IMODE = l ]; then
echo "Ubuntu 18.04 Mailserver installation script." #echo "Ubuntu 18.04 Mailserver installation script."
echo "Domain without www or mail:" #echo "Domain without www or mail:"
read domain #read domain
echo "Please enter your password (should contain at least 2 digits and 6 characters:" #echo "Please enter your password (should contain at least 2 digits and 6 characters:"
read password #read password
echo "Administrator E-mail:" #echo "Administrator E-mail:"
read email #read email
fi fi
PKGA="add-apt-repository" PKGA="add-apt-repository"
@@ -50,9 +50,9 @@ PKGI="${PKGM} install -y"
##-----------------## ##-----------------##
# Static-Vars # # Static-Vars #
##-----------------## ##-----------------##
#domain=ictdownwerk.com domain=ictdownwerk.com
#password=JW9t9ipdgLrWvMqHq7hX password=JW9t9ipdgLrWvMqHq7hX
#email=admin@ictdagbesteding.nl email=admin@ictdagbesteding.nl
phpver=7.3 phpver=7.3
domonly=${domain} domonly=${domain}
domain=mail.${domain} domain=mail.${domain}