Update temp.inc.sh
This commit is contained in:
@@ -734,7 +734,7 @@ CHECKTEMPSENSOR(){
|
|||||||
temp_c=''
|
temp_c=''
|
||||||
fi
|
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 [[ "${1}" = *"CPU"* ]]; then
|
||||||
if ! temp_c=$(${SSHCMD} root@${PW_REMOTE_SENSORS[${1}]} vcgencmd measure_temp) ; then TIMEOUT=1; fi
|
if ! temp_c=$(${SSHCMD} root@${PW_REMOTE_SENSORS[${1}]} vcgencmd measure_temp) ; then TIMEOUT=1; fi
|
||||||
if [ "${temp_c}" != "" ]; then
|
if [ "${temp_c}" != "" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user