Update powerwall.sh

This commit is contained in:
2022-09-03 11:35:29 -05:00
parent 8f6435c196
commit b162ffd39e

View File

@@ -23,7 +23,7 @@ CHECKTEMP(){
#echo "$temp_c -> $temp_f"
temp_warn=${TEMP_THRESHOLDS[${1}]}
echo temp_warn
echo $temp_warn
if [ $temp_f -ge ${TEMP_THRESHOLDS[${1}]['warn']} ] && [ $temp_f -lt ${TEMP_THRESHOLDS[${1}]['crit']} ]; then
echo "WARNING: $temp_f"