Update run.sh

This commit is contained in:
2023-12-13 18:53:17 -06:00
parent edbc0c0e3f
commit 371fc8dffc

3
run.sh
View File

@@ -49,9 +49,8 @@ if [ "${1}" == "update" ]; then
read -n 1 -p "Do you want to restart PowerWall Services? (y/N): " choice read -n 1 -p "Do you want to restart PowerWall Services? (y/N): " choice
case "$choice" in case "$choice" in
[Yy]) [Yy])
echo -en "\n${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]} ... " echo -e "\n${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]} ... "
/opt/idssys/powerwall/powerwall.sh service all restart >/dev/null 2>&1 /opt/idssys/powerwall/powerwall.sh service all restart >/dev/null 2>&1
echo -e "${idsCL[Green]}Done${idsCL[Default]}\n" ;;
*) echo;; *) echo;;
esac esac