Update 'installer.sh'

This commit is contained in:
b.waal
2019-09-15 16:33:32 +02:00
parent f59d2e3e31
commit 4a33908df2

View File

@@ -26,10 +26,13 @@ PKGI="${PKGM} install -y"
if [ $IMODE = n ]; then
if (whiptail --title "Ubuntu 18.04 Mail Server" --yesno "Do you want to install a mail server?" 8 78)
then
echo "" >/dev/null
else
exit
fi
password=$(whiptail --passwordbox "please enter your password" 8 78 --title "Password dialog" 3>&1 1>&2 2>&3)
domain=$(whiptail --inputbox "Enter the domain" 8 78 Blue --title "Statics dialog" 3>&1 1>&2 2>&3)
email=$(whiptail --inputbox "Enter the email" 8 78 Blue --title "Statics dialog" 3>&1 1>&2 2>&3)
elif [ $IMODE = l ]; then
echo "Ubuntu 18.04 Mailserver installatie script."
echo "Domein zonder www en mail.:"
@@ -43,16 +46,12 @@ fi
PKGA="add-apt-repository"
PKGI="${PKGM} install -y"
##-----------------##
# Static-Vars #
##-----------------##
echo "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}