Update temp.inc.sh

This commit is contained in:
2023-12-26 21:13:35 -06:00
parent 1dee495dee
commit 7b3ef36f52

View File

@@ -379,7 +379,7 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
fi
elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "remotesystem" ]; then
temp_c=$(ssh root@${PW_REMOTE_SENSORS[${SENSOR}]} vcgencmd measure_temp)
temp_c=$(ssh -q -o ConnectTimeout=1 -o ConnectionAttempts=1 root@${PW_REMOTE_SENSORS[${SENSOR}]} vcgencmd measure_temp)
temp_c=${temp_c%\'*}; temp_c=${temp_c#*=}
temp_h=''