From 535650956236d8ff8f6b9c20669664c78ee13600 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 6 Nov 2023 18:12:03 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index 31d246c8..f5ecc027 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -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