From 6c703cd0328c24df7c105838aa5aeb4a652ac678 Mon Sep 17 00:00:00 2001 From: bprieshof Date: Fri, 26 Oct 2018 13:31:10 +0200 Subject: [PATCH] Update 'Main-Installer.sh' --- Main-Installer.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Main-Installer.sh b/Main-Installer.sh index 4dbba1f..0304769 100644 --- a/Main-Installer.sh +++ b/Main-Installer.sh @@ -15,6 +15,16 @@ 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 echo "Algemeen wachtwoord:" read password echo "Administrator email:"