Update temp.inc.sh

This commit is contained in:
2024-04-22 18:17:21 -05:00
parent 5cde398ce4
commit ddcf22b71c

View File

@@ -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