Actualizar 'setup.sh'

Typo mistakes
This commit is contained in:
borekon 2022-03-14 13:35:21 +00:00
parent 0c608a83e7
commit 1f2d77047f

View File

@ -67,8 +67,7 @@ case ${answer:0:1} in
echo -e PiHole "${BOLDRED} NOT${ENDCOLOR} " installed
;;
esac
if [ $WEBMIN != 0 ]
then
if [[ $WEBMIN != 0 ]];then
echo -e "${ITALICGREEN}Stopping Webmin${ENDCOLOR}"
${SUDO} systemctl stop webmin
${SUDO} certbot certonly --standalone
@ -79,8 +78,7 @@ then
else
#echo No
fi
if [ -d "/etc/lighttpd" ]
then
if [[ -d "/etc/lighttpd" ]];then
read -p "Request let's encrypt certificate for lighttpd(y/n)" answer
case ${answer:0:1} in
y|Y )