Update 'installer.sh'
This commit is contained in:
15
installer.sh
15
installer.sh
@@ -26,10 +26,13 @@ PKGI="${PKGM} install -y"
|
|||||||
if [ $IMODE = n ]; then
|
if [ $IMODE = n ]; then
|
||||||
if (whiptail --title "Ubuntu 18.04 Mail Server" --yesno "Do you want to install a mail server?" 8 78)
|
if (whiptail --title "Ubuntu 18.04 Mail Server" --yesno "Do you want to install a mail server?" 8 78)
|
||||||
then
|
then
|
||||||
|
echo "" >/dev/null
|
||||||
else
|
else
|
||||||
exit
|
exit
|
||||||
fi
|
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
|
elif [ $IMODE = l ]; then
|
||||||
echo "Ubuntu 18.04 Mailserver installatie script."
|
echo "Ubuntu 18.04 Mailserver installatie script."
|
||||||
echo "Domein zonder www en mail.:"
|
echo "Domein zonder www en mail.:"
|
||||||
@@ -43,16 +46,12 @@ fi
|
|||||||
PKGA="add-apt-repository"
|
PKGA="add-apt-repository"
|
||||||
PKGI="${PKGM} install -y"
|
PKGI="${PKGM} install -y"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##-----------------##
|
##-----------------##
|
||||||
# Static-Vars #
|
# Static-Vars #
|
||||||
##-----------------##
|
##-----------------##
|
||||||
echo "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}
|
||||||
|
|||||||
Reference in New Issue
Block a user