From 05f4db10f2d601bf3a5700dd801e364a6e7ac2b0 Mon Sep 17 00:00:00 2001 From: borekon Date: Mon, 14 Mar 2022 13:58:53 +0100 Subject: [PATCH] Update setup.sh --- setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index e777e2a..a1383c4 100644 --- a/setup.sh +++ b/setup.sh @@ -48,7 +48,7 @@ case ${answer:0:1} in ${SUDO} sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys d97a3ae911f63c51 rm jcameron-key.asc ${SUDO} apt update && ${SUDO} apt install webmin && WEBMIN=1 - read -p "Press any key to continue" + read -p "Press enter to continue" ;; * ) echo -e Webmin "${BOLDRED} NOT${ENDCOLOR}" installed @@ -61,13 +61,13 @@ case ${answer:0:1} in cd "Pi-hole/automated install/" bash basic-install.sh pihole -a -p - read -p "Press any key to continue" + read -p "Press enter to continue" ;; * ) echo -e PiHole "${BOLDRED} NOT${ENDCOLOR} " installed ;; esac -if [[ $WEBMIN != 0 ]] +if [ $WEBMIN != 0 ] then echo -e "${ITALICGREEN}Stopping Webmin${ENDCOLOR}" ${SUDO} systemctl stop webmin @@ -79,7 +79,7 @@ if [[ $WEBMIN != 0 ]] else #echo No fi -if [[ -d "/etc/lighttpd" ]] +if [ -d "/etc/lighttpd" ] then read -p "Request let's encrypt certificate for lighttpd(y/n)" answer case ${answer:0:1} in