Update 'Extra_Domains/Domain_Installer.sh'

This commit is contained in:
bprieshof
2019-01-10 14:05:21 +01:00
parent de00a706be
commit fd568be37f

View File

@@ -15,6 +15,15 @@
echo "Ubuntu 18.04 extra domein installatie script." echo "Ubuntu 18.04 extra domein installatie script."
echo "Domein zonder www:" echo "Domein zonder www:"
read domain read domain
while true; do
read -p "bestaat www.${domain} in DNS -> yes/no?" yn
case $yn in
[Yy]* ) domainwww=1
break;;
[Nn]* ) domainwww=0
break;;
* ) echo "Kies yes of no.";;
esac
echo "Algemeen wachtwoord:" echo "Algemeen wachtwoord:"
read password read password
echo "Administrator email:" echo "Administrator email:"
@@ -86,7 +95,7 @@ chmod -R 755 /var/www
echo "****************************" echo "****************************"
sleep 0.5 sleep 0.5
echo "Installatie duurt 5 minuten." echo "Installatie duurt 1 minuut."
sleep 0.5 sleep 0.5
echo "****************************" echo "****************************"