Update powerwall.sh

This commit is contained in:
2023-10-31 14:18:33 -05:00
parent 627f91798e
commit 5c397e1cef

View File

@@ -536,6 +536,7 @@ CHECKPOWER(){
DIVIDER . yellow 75
if [ "${1}" == "" ] || [ "${1}" == "sensors" ]; then
rm -f ${PW_TMPFOLDER}/*.hostpower*
for SENSOR in ${PW_SENSOR_ORD[@]}; do
if [ "${PW_HOST_IDRACS[${SENSOR}]}" != "" ]; then
GETHOSTPOWER ${PW_HOST_IDRACS[${SENSOR}]} &