This commit is contained in:
2024-01-30 19:22:34 -06:00
parent 9fe6a8ebf5
commit 3e6f283d6c
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERS='2.5.207-01302024' VERS='2.5.209-01302024'
noheader=' update service dailytemp confsync -r -report ' noheader=' update service dailytemp confsync -r -report '

View File

@@ -840,6 +840,9 @@ Previous Temp: ${last_temp}${GAUGESH}"
echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${SENSORa} Sensor - ERROR reading sensor data" >> ${logtemp} echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${SENSORa} Sensor - ERROR reading sensor data" >> ${logtemp}
[ "${PW_SENSOR_TYPE[${SENSORa}]}" == "esxi" ] && [ -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}.set ] && rm -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}.set [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "esxi" ] && [ -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}.set ] && rm -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}.set
fi fi
if [ "${PW_HOST_ADDRESSES[${SENSORa}]}" != "" ] && [ -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}* ]; then
rm -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}*
fi
fi fi
rm -f ${PW_TMPFOLDER}/ztemprun.${SENSORa}.running rm -f ${PW_TMPFOLDER}/ztemprun.${SENSORa}.running
touch ${PW_TMPFOLDER}/ztemprun.${SENSORa}.done touch ${PW_TMPFOLDER}/ztemprun.${SENSORa}.done