diff --git a/defaults.inc b/defaults.inc index 43cfe546..07044ce1 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,5 @@ -VERS='2.4.20-12112023' +VERS='2.5.1-12112023' noheader=' update service dailytemp ' hc_cw=60 diff --git a/powerwall.sh b/powerwall.sh index 871727d8..459c0ba9 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -2370,11 +2370,6 @@ fi ;; logrotate) LOGROTATE;; - update) - # echo -en "${idsCL[LightCyan]}Will reboot monitoring services in the background to apply updates ... " - # RESTARTALL_SERVICES >/dev/null 2>&1 & - # echo -e "${idsCL[Green]}Done${idsCL[Default]}\n" - ;; status) CHECKPOWER CHECKTEMP diff --git a/run.sh b/run.sh index 031befad..69cc57f2 100755 --- a/run.sh +++ b/run.sh @@ -63,7 +63,7 @@ if [ "${1}" == "update" ]; then fi -/opt/idssys/powerwall/powerwall.sh ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} +[ "${1}" != "update" ] && /opt/idssys/powerwall/powerwall.sh ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} exit 0