Update powerwall.sh

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

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