diff --git a/installer.sh b/installer.sh index fb1626c..a068bef 100644 --- a/installer.sh +++ b/installer.sh @@ -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}