Update powerwall.sh

This commit is contained in:
2022-09-03 11:55:42 -05:00
parent e0d9948fa8
commit e6432b2e36

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=78
temp_f=88.6
if [ $(bc -l <<< "$temp_f >= $temp_warn") -eq 1 ] && [ $(bc -l <<< "$temp_f < $temp_crit") -eq 1 ]; then
echo "WARNING: $temp_f"