Update run.sh

This commit is contained in:
2023-11-29 22:57:40 -06:00
parent 8ed9a5781b
commit 182a113687

3
run.sh
View File

@@ -46,8 +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]}... "
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";