From eaecd6b7852192285e89b0b4450f77a93c773f09 Mon Sep 17 00:00:00 2001 From: tbergervoet Date: Thu, 4 Oct 2018 12:22:22 +0200 Subject: [PATCH] Update 'Extra_Domains/Domain_Installer.sh' --- Extra_Domains/Domain_Installer.sh | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Extra_Domains/Domain_Installer.sh b/Extra_Domains/Domain_Installer.sh index 3ae0257..0e881ae 100644 --- a/Extra_Domains/Domain_Installer.sh +++ b/Extra_Domains/Domain_Installer.sh @@ -26,13 +26,13 @@ select opt in "${options[@]}" do case $opt in "Apache") - script=temp_filler + script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/dev/Extra_Domains/Apache_Domain.sh break;; "Apache, Nginx reverse proxy") - script=temp_filler + script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/dev/Extra_Domains/RevProxySimple_Domain.sh break;; "Nginx, PHP-FPM") - script=temp_filler + script=https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/dev/Extra_Domains/NGINX_Domain.sh break;; "Quit") exit;; @@ -40,6 +40,17 @@ do esac done +while true; do + read -p "Installeer Netdata -> yes/no?" yn + case $yn in + [Yy]* ) netdata=1 + break;; + [Nn]* ) netdata=0 + break;; + * ) echo "Kies yes of no.";; + esac +done + while true; do read -p "Installeer Wordpress -> yes/no?" yn case $yn in