update
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
VERS='2.5.47-12172023'
|
VERS='2.5.48-12192023'
|
||||||
|
|
||||||
noheader=' update service dailytemp confsync '
|
noheader=' update service dailytemp confsync '
|
||||||
|
|
||||||
|
|||||||
@@ -367,7 +367,7 @@ CHECKTEMP_SERVICE(){
|
|||||||
|
|
||||||
if (( $(bc <<< "${temp_f} < ${temp_warn}") )); then
|
if (( $(bc <<< "${temp_f} < ${temp_warn}") )); then
|
||||||
if (( $(bc <<< "${last_temp[${SENSOR//-/}]} > 1") )); then
|
if (( $(bc <<< "${last_temp[${SENSOR//-/}]} > 1") )); then
|
||||||
SENDNOTICE "${SENSOR} BACK TO NORMAL" "NORMAL TEMP: ${temp_f}${GAUGESH}
|
[ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/${SENSORa}.down)) -ge 1800 ] && SENDNOTICE "${SENSOR} BACK TO NORMAL" "NORMAL TEMP: ${temp_f}${GAUGESH}
|
||||||
Previous Temp: ${last_temp[${SENSOR//-/}]}${GAUGESH}"
|
Previous Temp: ${last_temp[${SENSOR//-/}]}${GAUGESH}"
|
||||||
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - ${temp_f}${GAUGESH} - Back to NORMAL ${GAUGE} - Previous ${GAUGE}: ${last_temp[${SENSOR//-/}]}${GAUGESH}" >> ${logtemp}
|
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - ${temp_f}${GAUGESH} - Back to NORMAL ${GAUGE} - Previous ${GAUGE}: ${last_temp[${SENSOR//-/}]}${GAUGESH}" >> ${logtemp}
|
||||||
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - ${temp_f}${GAUGESH} - ${SENSOR} - Back to NORMAL ${GAUGE}" >> ${PW_LOGFILE}
|
echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - ${temp_f}${GAUGESH} - ${SENSOR} - Back to NORMAL ${GAUGE}" >> ${PW_LOGFILE}
|
||||||
@@ -385,7 +385,7 @@ Previous Temp: ${last_temp[${SENSOR//-/}]}${GAUGESH}"
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
rm -f ${PW_TMPFOLDER}/temp.*
|
rm -f ${PW_TMPFOLDER}/temp.*
|
||||||
rm -f ${PW_TMPFOLDER}/power.${SENSORa}.off
|
rm -f ${PW_TMPFOLDER}/power.${SENSORa}.*
|
||||||
last_temp[${SENSOR//-/}]=1
|
last_temp[${SENSOR//-/}]=1
|
||||||
|
|
||||||
# iDS-vMS-Offsite Fan Issue Workaround
|
# iDS-vMS-Offsite Fan Issue Workaround
|
||||||
|
|||||||
Reference in New Issue
Block a user