Update run.sh

This commit is contained in:
2025-06-14 16:38:13 -05:00
parent a99398148f
commit ffb48dc62b

2
run.sh
View File

@@ -49,7 +49,7 @@ if [ "${1}" == "update" ]; then
echo -en "\e[1A";
echo -e "\e[0K\r ${idsCL[Green]}Update to v${PW_VERS} complete${idsCL[Default]}"
fi
if [ "${2}" != "q" ] && [ "${2}" != "y" ]; then
if [ "${2}" != "q" ] && [ "${2}" != "y" ] && [ "${2}" != "n" ]; then
if [ -f ${NM_TMPFOLDER}/.singleserver.PW.primary ] || [ -f ${NM_TMPFOLDER}/.singleserver.PWO.primary ]; then
echo -en "${idsCL[LightCyan]}Do you want to restart PowerWall Services as well? (y/N): "
read -n 1 choice