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:"
|
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
|
||||||
|
done
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
read -p "Hostname with ictmaatwerk-cs.nl -> yes/no?" yn
|
read -p "Hostname with ictmaatwerk-cs.nl -> yes/no?" yn
|
||||||
case $yn in
|
case $yn in
|
||||||
@@ -32,16 +43,6 @@ while true; do
|
|||||||
esac
|
esac
|
||||||
done
|
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:"
|
echo "Algemeen wachtwoord:"
|
||||||
read password
|
read password
|
||||||
echo "Administrator email:"
|
echo "Administrator email:"
|
||||||
|
|||||||
Reference in New Issue
Block a user