From 44134cb2f4fef9b0705fe956235288fdb249b0bd Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Tue, 17 Sep 2019 22:48:53 +0200 Subject: [PATCH] Disabled menu's, enabled static vars --- installer.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/installer.sh b/installer.sh index 1c6dc86..7f00351 100644 --- a/installer.sh +++ b/installer.sh @@ -31,17 +31,17 @@ if (whiptail --title "Ubuntu 18.04 Mail Server" --yesno "Do you want to install clear exit 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) -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) +#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) +#email=$(whiptail --nocancel --inputbox "Enter the Administrator E-mail" 8 34 --title "Config" 3>&1 1>&2 2>&3) elif [ $IMODE = l ]; then -echo "Ubuntu 18.04 Mailserver installation script." -echo "Domain without www or mail:" -read domain -echo "Please enter your password (should contain at least 2 digits and 6 characters:" -read password -echo "Administrator E-mail:" -read email +#echo "Ubuntu 18.04 Mailserver installation script." +#echo "Domain without www or mail:" +#read domain +#echo "Please enter your password (should contain at least 2 digits and 6 characters:" +#read password +#echo "Administrator E-mail:" +#read email fi PKGA="add-apt-repository" @@ -50,9 +50,9 @@ PKGI="${PKGM} install -y" ##-----------------## # Static-Vars # ##-----------------## -#domain=ictdownwerk.com -#password=JW9t9ipdgLrWvMqHq7hX -#email=admin@ictdagbesteding.nl +domain=ictdownwerk.com +password=JW9t9ipdgLrWvMqHq7hX +email=admin@ictdagbesteding.nl phpver=7.3 domonly=${domain} domain=mail.${domain}