Update powerwall.sh

This commit is contained in:
2023-11-06 18:12:03 -06:00
parent 60cdb8368d
commit 5356509562

View File

@@ -333,7 +333,7 @@ Shutting down servers!!" 1
fi
fi
elif [ $(bc -l <<< "${temp_f} >= ${temp_crit}_sys") -eq 1 ]; then
elif [ $(bc -l <<< "${temp_f} >= ${temp_crit_sys}") -eq 1 ]; then
touch ${PW_TMPFOLDER}/temp.critsys
if [ ${temp_diff} -gt 1 ] || [ "${last_temp[${SENSOR}]}" = "1" ]; then
SENDNOTICE "${SENSOR} TEMP CRITICAL" "SYSTEM CRITICAL TEMP: ${temp_f}'F - (Difference of ${temp_diff}')" 1