update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VERS='2.2.1-08132023'
|
||||
VERS='2.2.2-08132023'
|
||||
|
||||
noheader=' update service dailytemp '
|
||||
|
||||
|
||||
4
run.sh
4
run.sh
@@ -45,7 +45,9 @@ if [ "${1}" == "update" ]; then
|
||||
echo -en "\e[1A";
|
||||
echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}"
|
||||
fi
|
||||
/opt/idssys/powerwall/powerwall.sh service all restart
|
||||
echo -en "\n${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";
|
||||
|
||||
Reference in New Issue
Block a user