Update powerwall.sh

This commit is contained in:
2023-05-14 16:50:39 -05:00
parent 8b990858c2
commit c7931c289d

View File

@@ -16,7 +16,7 @@ VERBOSE=false
#ssh root@10.5.10.35 '/vmfs/volumes/NFS_ESXi-Vault/esxi-shutdown.sh > /dev/null 2>&1' & > /dev/null 2>&1
CHECKTEMP(){
[ "${1}" != "" ] && SENSORS["${1}"]=1 || SENSORS=${!SENSOR_ID[@]}
[ "${1}" != "" ] && SENSORS["${1}"]=1 || SENSORS=${!SENSOR_ID}
for SENSOR in ${!SENSORS[@]}; do
echo "HERE: $SENSOR"