Update temp.inc.sh
This commit is contained in:
@@ -481,6 +481,7 @@ Previous Temp: ${last_temp[${SENSOR//-/}]}${GAUGESH}"
|
||||
[ ! -f ${PW_TMPFOLDER}/.log.sr.difference ] && touch ${PW_TMPFOLDER}/.log.sr.difference
|
||||
temp_difference=$(bc <<< "scale=1; ${temp_probe_f}-${ServerRoomTH}")
|
||||
(( $(bc <<<"${temp_difference} < 0") )) && temp_difference=`echo "scale=1; ${temp_difference} * -1" | bc`
|
||||
echo "HERE: ${temp_probe_f} - ${ServerRoomTH} = ${temp_difference}"
|
||||
echo ${temp_difference} >> ${PW_TMPFOLDER}/.log.sr.difference
|
||||
fi
|
||||
###################
|
||||
|
||||
Reference in New Issue
Block a user