Update powerwall.sh

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

View File

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