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.*
|
[[ "${SENSOR}" = *"${PW_SHUTDOWN_SENSORS}"* ]] && rm -f ${PW_TMPFOLDER}/temp.*
|
||||||
rm -f ${PW_TMPFOLDER}/temp.*${SENSOR}*
|
rm -f ${PW_TMPFOLDER}/temp.*${SENSOR}*
|
||||||
rm -f ${PW_TMPFOLDER}/power.${SENSORa}.*
|
rm -f ${PW_TMPFOLDER}/power.${SENSORa}.*
|
||||||
if [ "${last_temp}" != "1" ]; then
|
# if [ "${last_temp}" != "1" ]; then
|
||||||
last_temp=1
|
# last_temp=1
|
||||||
echo ${last_temp} >| ${PW_TMPFOLDER}/.lasttemp/${SENSOR}
|
echo ${tempf} >| ${PW_TMPFOLDER}/.lasttemp/${SENSOR}
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
elif [[ "${SENSORa}" != *"-Usage"* ]] && [[ "${SENSORa}" != *"FAN"* ]]; then
|
elif [[ "${SENSORa}" != *"-Usage"* ]] && [[ "${SENSORa}" != *"FAN"* ]]; then
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user