This commit is contained in:
2025-05-05 21:34:58 -05:00
parent 8368f07934
commit c75160b0a3
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='2.8.34-05052025'
PW_VERS='2.8.34-05052025'
noheader=' update service dailytemp confsync -r -report test '

View File

@@ -879,7 +879,7 @@ if [[ "${1}" != *"_service" ]] && [[ "${noheader}" != *" ${1} "* ]] && [[ "${noh
DIVIDER . lightGreen ${PRI_WIDTH}
msg="|| PowerWall Management ${idsCL[Default]}"
c=0; spc=''; spc1=`expr 77 - ${#msg} - ${#VERS}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[LightGray]}v${VERS} ${idsCL[LightGreen]}||${idsCL[Default]}"
echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[LightGray]}v${PW_VERS} ${idsCL[LightGreen]}||${idsCL[Default]}"
DIVIDER . lightGreen ${PRI_WIDTH}
fi
fi

2
run.sh
View File

@@ -46,7 +46,7 @@ if [ "${1}" == "update" ]; then
source /opt/idssys/powerwall/defaults.inc
if [ "${2}" != "q" ]; then
echo -en "\e[1A";
echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}"
echo -e "\e[0K\r ${idsCL[Green]}Update to v${PW_VERS} complete${idsCL[Default]}"
fi
if [ -f ${NM_TMPFOLDER}/.singleserver.PW.primary ] || [ -f ${NM_TMPFOLDER}/.singleserver.PWO.primary ]; then
echo -en "${idsCL[LightCyan]}Do you want to restart PowerWall Services as well? (y/N): "