Update temp.inc.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user