This commit is contained in:
2023-12-30 15:50:00 -06:00
parent e1da954369
commit 9aaff8aa24
3 changed files with 5 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
VERS='2.5.90-12302023' VERS='2.5.90-12302023'
noheader=' update service dailytemp confsync ' noheader=' update service dailytemp confsync -r -report '
HC_CW=60 HC_CW=60

View File

@@ -865,7 +865,9 @@ PDUCONTROL(){
} }
SENDPOWER(){ SENDPOWER(){
SENDNOTICE "TEST 2" "TESTING TESTING" & SENDNOTICE "TEST 2" "TESTING
TESTING" &
echo -en "sending ... " echo -en "sending ... "
SENDNOTICE "${1}" "`${PW_SCRIPT} check power -p -r`" SENDNOTICE "${1}" "`${PW_SCRIPT} check power -p -r`"
echo "done" echo "done"

View File

@@ -730,7 +730,7 @@ TEST(){
######################################################### #########################################################
if [[ "${1}" != *"_service" ]] && [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then if [[ "${1}" != *"_service" ]] && [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [[ "${noheader}" != *" ${3} "* ]] && [[ "${noheader}" != *" ${4} "* ]] && [[ "${noheader}" != *" ${5} "* ]]; then
echo echo
DIVIDER . lightGreen 70 DIVIDER . lightGreen 70
msg="| PowerWall Management ${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})" msg="| PowerWall Management ${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})"