Update temp.inc.sh
This commit is contained in:
@@ -592,7 +592,7 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
|
||||
echo a-${SENSORa}
|
||||
if [ ! -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}.set ] || [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}.set)) -ge 300 ]; then
|
||||
echo b-${SENSORa}
|
||||
echo "[ ! -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}.set ] && (( \$(bc <<< '${temp_f} < \$(echo \"scale=2; ${DEFAULT_ESXI_EXHAUST_MIN}+${ESXI_FANSPEED_GL_ZONE}' | bc)\") ))"
|
||||
echo "${temp_f} -- scale=2; ${DEFAULT_ESXI_EXHAUST_MIN}+${ESXI_FANSPEED_GL_ZONE}"
|
||||
if [ ! -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}.set ] && (( $(bc <<< '${temp_f} < $(echo "scale=2; ${DEFAULT_ESXI_EXHAUST_MIN}+${ESXI_FANSPEED_GL_ZONE}' | bc)") )); then
|
||||
echo 1-${SENSORa}
|
||||
if [ ${FanSpeed} -ne ${DEFAULT_ESXI_FANSPEED} ]; then
|
||||
|
||||
Reference in New Issue
Block a user