Update setup.sh
This commit is contained in:
parent
4fb7e85f61
commit
05f4db10f2
8
setup.sh
8
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user