diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index ac60db08..45a2a068 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -300,6 +300,8 @@ CHECKTEMP(){ reading="${lclr}${lmd}${spct}${temp_f}${GAUGESH}" echo -en "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading}" + echo "HERE: ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old" + if [ -f ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old ]; then if [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then reading="${reading} ${idsCL[LightRed]}\u2B06 "