Update temp.inc.sh
This commit is contained in:
@@ -1008,7 +1008,7 @@ Previous Temp: ${last_temp}${GAUGESH}"
|
||||
# fi
|
||||
fi
|
||||
|
||||
if [ "${temp_f}" != "" ] && ([ "${PW_SENSOR_TYPE[${SENSORa}]}" == "esxi" ] || [[ "${SENSOR}" != *"CPU"* ]]) && [[ "${SENSOR}" != *"FAN"* ]]; then
|
||||
if [ "${temp_f}" != "" ] && [[ "${SENSOR}" != *"CPU-Usage"* ]] && [[ "${SENSOR}" != *"FAN"* ]]; then
|
||||
if [ ! -f ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.pre ]; then
|
||||
echo "${temp_f}" > ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.pre
|
||||
|
||||
|
||||
Reference in New Issue
Block a user