Update temp.inc.sh
This commit is contained in:
@@ -809,10 +809,10 @@ Previous Temp: ${last_temp}${GAUGESH}"
|
||||
[[ "${SENSOR}" = *"${PW_SHUTDOWN_SENSORS}"* ]] && rm -f ${PW_TMPFOLDER}/temp.*
|
||||
rm -f ${PW_TMPFOLDER}/temp.*${SENSOR}*
|
||||
rm -f ${PW_TMPFOLDER}/power.${SENSORa}.*
|
||||
if [ "${last_temp}" != "1" ]; then
|
||||
last_temp=1
|
||||
echo ${last_temp} >| ${PW_TMPFOLDER}/.lasttemp/${SENSOR}
|
||||
fi
|
||||
# if [ "${last_temp}" != "1" ]; then
|
||||
# last_temp=1
|
||||
echo ${tempf} >| ${PW_TMPFOLDER}/.lasttemp/${SENSOR}
|
||||
# fi
|
||||
|
||||
elif [[ "${SENSORa}" != *"-Usage"* ]] && [[ "${SENSORa}" != *"FAN"* ]]; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user