Update temp.inc.sh

This commit is contained in:
2025-06-22 09:50:05 -05:00
parent 578fcc7523
commit 8d89cc83b5

View File

@@ -734,7 +734,7 @@ CHECKTEMPSENSOR(){
temp_c=''
fi
elif [ "${PW_SENSOR_TYPE[${1}]}" == "system" ] || "${PW_SENSOR_TYPE[${1}]}" == "remotesystem" ]; then
elif [ "${PW_SENSOR_TYPE[${1}]}" == "system" ] || [ "${PW_SENSOR_TYPE[${1}]}" == "remotesystem" ]; then
if [[ "${1}" = *"CPU"* ]]; then
if ! temp_c=$(${SSHCMD} root@${PW_REMOTE_SENSORS[${1}]} vcgencmd measure_temp) ; then TIMEOUT=1; fi
if [ "${temp_c}" != "" ]; then