Update temp.inc.sh

This commit is contained in:
2025-06-22 10:43:47 -05:00
parent 21dcd112f4
commit c74f0d2db9

View File

@@ -937,6 +937,8 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
[ -f ${PW_TMPFOLDER}/power.${SENSORa}.off ] && [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/power.${SENSORa}.off)) -ge 300 ] && rm-f ${PW_TMPFOLDER}/power.${SENSORa}.off
t=1
echo "::: - ${PW_ESXI_USER} ~ ${ESXI_PASS}"
####### Grab Fan Speeds #######
# if [ ! -f ${PW_TMPFOLDER}/${SENSORa}.down ] && ([ ! -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa} ] || [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/.lastfancheck/${SENSORa})) -ge 60 ]); then
if [ ! -f ${PW_TMPFOLDER}/${SENSORa}.down ]; then