From 83560c3740cd1cadadbb564fa8e2c71f82b88abb Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 4 Dec 2023 14:40:38 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index a189f87d..eb716098 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -320,7 +320,7 @@ CHECKTEMP_SERVICE(){ [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "cpu" ] && temp_f=$(echo "scale=2; $temp_c/1" | bc -l) || temp_f=$(echo "scale=2; ${temp_c}*1.8 + 32" | bc) [ "${SENSOR}" == "ServerRoomTH" ] && temp_f=`echo "scale=2; ${temp_f}+${PW_ServerRoomTH_Dev}" | bc` - echo "HERE: ${SENSOR} - ${temp_c} - ${temp_f} - ${temp_warn} - ${temp_crit} - ${temp_crit_sys}" + # echo "HERE: ${SENSOR} - ${temp_c} - ${temp_f} - ${temp_warn} - ${temp_crit} - ${temp_crit_sys}" if [ "${PW_SENSOR_TYPE[${SENSORa}]}" != "esxi" ]; then echo ${PW_TEMP_THRESHOLDS[${SENSOR}]} | cut -d',' -f 1 | read temp_warn @@ -476,7 +476,7 @@ Previous Temp: ${last_temp[${SENSOR}]}${GAUGESH}" done # end=`date +%s`; runtime=$((end-start)); echo "runtime: ${runtime}, pausing for 60secs..." - sleep 60 + sleep 10 done # & }