Update run.sh

This commit is contained in:
2023-11-30 07:59:02 -06:00
parent e6e213fd5d
commit e9f4bb326c

6
run.sh
View File

@@ -46,9 +46,9 @@ if [ "${1}" == "update" ]; then
echo -en "\e[1A";
echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}\n"
fi
echo -en "${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]} ... "
/opt/idssys/powerwall/powerwall.sh service all restart >/dev/null 2>&1
echo -e "${idsCL[Green]}Done${idsCL[Default]}\n"
# echo -en "${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]} ... "
# /opt/idssys/powerwall/powerwall.sh service all restart >/dev/null 2>&1
# echo -e "${idsCL[Green]}Done${idsCL[Default]}\n"
elif [ "${2}" != "q" ]; then
echo -en "\e[1A";