Disabled menu's, enabled static vars
This commit is contained in:
26
installer.sh
26
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}
|
||||
|
||||
Reference in New Issue
Block a user