Update temp.inc.sh

This commit is contained in:
2024-01-27 21:55:38 -06:00
parent 9541417450
commit 8ce244ef0c

View File

@@ -564,7 +564,7 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
([ ! -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa} ] || [ "$(cat ${PW_TMPFOLDER}/.lastfancheck/${SENSORa})" != "${FanSpeed}" ]) && echo "${FanSpeed}" >| ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}
echo "${FanSpeed}" >| ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}.set
elif (( $(bc <<< "${temp_f} >= $(expr ${DEFAULT_ESXI_EXHAUST_MIN}-5)") )) && (( $(bc <<< "${temp_f} <= $(expr ${DEFAULT_ESXI_EXHAUST_MIN}+5)") )); then
elif (( $(bc <<< "${temp_f} >= $(expr ${DEFAULT_ESXI_EXHAUST_MIN} - 4)") )) && (( $(bc <<< "${temp_f} <= $(expr ${DEFAULT_ESXI_EXHAUST_MIN} + 5)") )); then
#GOLDILOCK ZONE
tmp=tmp