Update powerwall.sh

This commit is contained in:
2022-09-03 11:50:53 -05:00
parent c1d5487a13
commit daf7804792

View File

@@ -24,7 +24,7 @@ CHECKTEMP(){
echo ${TEMP_THRESHOLDS[${1}]} | cut -d',' -f 1 | read temp_warn
echo ${TEMP_THRESHOLDS[${1}]} | cut -d',' -f 2 | read temp_crit
temp_f=$temp_f
temp_f=72
if [ $temp_f -ge ${temp_warn} ] && [ $temp_f -lt ${temp_crit} ]; then
echo "WARNING: $temp_f"