Update 'installer.sh'
This commit is contained in:
21
installer.sh
21
installer.sh
@@ -16,6 +16,17 @@ echo "Ubuntu 18.04 installatie script."
|
||||
echo "Domein zonder www:"
|
||||
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
|
||||
done
|
||||
|
||||
while true; do
|
||||
read -p "Hostname with ictmaatwerk-cs.nl -> yes/no?" yn
|
||||
case $yn in
|
||||
@@ -32,16 +43,6 @@ while true; do
|
||||
esac
|
||||
done
|
||||
|
||||
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
|
||||
done
|
||||
echo "Algemeen wachtwoord:"
|
||||
read password
|
||||
echo "Administrator email:"
|
||||
|
||||
Reference in New Issue
Block a user