Actualizar 'setup.sh'
Typo mistakes
This commit is contained in:
parent
0c608a83e7
commit
1f2d77047f
6
setup.sh
6
setup.sh
|
@ -67,8 +67,7 @@ case ${answer:0:1} in
|
||||||
echo -e PiHole "${BOLDRED} NOT${ENDCOLOR} " installed
|
echo -e PiHole "${BOLDRED} NOT${ENDCOLOR} " installed
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if [ $WEBMIN != 0 ]
|
if [[ $WEBMIN != 0 ]];then
|
||||||
then
|
|
||||||
echo -e "${ITALICGREEN}Stopping Webmin${ENDCOLOR}"
|
echo -e "${ITALICGREEN}Stopping Webmin${ENDCOLOR}"
|
||||||
${SUDO} systemctl stop webmin
|
${SUDO} systemctl stop webmin
|
||||||
${SUDO} certbot certonly --standalone
|
${SUDO} certbot certonly --standalone
|
||||||
|
@ -79,8 +78,7 @@ then
|
||||||
else
|
else
|
||||||
#echo No
|
#echo No
|
||||||
fi
|
fi
|
||||||
if [ -d "/etc/lighttpd" ]
|
if [[ -d "/etc/lighttpd" ]];then
|
||||||
then
|
|
||||||
read -p "Request let's encrypt certificate for lighttpd(y/n)" answer
|
read -p "Request let's encrypt certificate for lighttpd(y/n)" answer
|
||||||
case ${answer:0:1} in
|
case ${answer:0:1} in
|
||||||
y|Y )
|
y|Y )
|
||||||
|
|
Loading…
Reference in New Issue
Block a user