update
This commit is contained in:
@@ -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 '
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user