diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 25cdfadb..7e098e10 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -1245,7 +1245,7 @@ Previous Temp: ${last_temp}${GAUGESH}" if [ ! -f ${PW_TMPFOLDER}/temp.critsys.${SENSOR}.pre ]; then touch ${PW_TMPFOLDER}/temp.critsys.${SENSOR}.pre - //elif [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/temp.critsys.${SENSOR}.pre)) -ge 120 ] || [ ${temp_diff} > 1 ]; then + # elif [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/temp.critsys.${SENSOR}.pre)) -ge 120 ] || [ ${temp_diff} > 1 ]; then elif [ ! -f ${PW_TMPFOLDER}/temp.critsys.${SENSOR} ] || [ ${temp_diff} > 1 ]; then # if (( $(bc <<< "${temp_diff} >= 1") )); then touch ${PW_TMPFOLDER}/temp.critsys.${SENSOR}.pre