Update temp.inc.sh
This commit is contained in:
@@ -127,10 +127,10 @@ CHECKTEMP(){
|
|||||||
until [ ${c} = ${spc1} ]; do spct="${spct} "; c=`expr ${c} + 1`; done
|
until [ ${c} = ${spc1} ]; do spct="${spct} "; c=`expr ${c} + 1`; done
|
||||||
reading="${lclr}${lmd}${spct}${temp_f_disp}${GAUGESH}"
|
reading="${lclr}${lmd}${spct}${temp_f_disp}${GAUGESH}"
|
||||||
|
|
||||||
if [ -f ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.old ]; then
|
if [ -f ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old ]; then
|
||||||
if [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.old | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then
|
if [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then
|
||||||
reading="${reading}${idsCL[LightRed]}\u2B06"
|
reading="${reading}${idsCL[LightRed]}\u2B06"
|
||||||
elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.old | cut -d'~' -f 1)") -eq 1 ]; then
|
elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)") -eq 1 ]; then
|
||||||
reading="${reading}${idsCL[LightGreen]}\u2B07"
|
reading="${reading}${idsCL[LightGreen]}\u2B07"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user