Update temp.inc.sh

This commit is contained in:
2024-02-29 19:01:29 -06:00
parent 7dda17e07c
commit a1db3da15a

View File

@@ -388,7 +388,7 @@ CHECKTEMPSENSOR(){
TIMEOUT=1
fi
else
if ! temp_c=$(ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=2 root@${PW_REMOTE_SENSORS[${1}]} "/opt/idssys/defaults/get-data.sh cpu-usage") ; then
if ! temp_c=$(ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${PW_REMOTE_SENSORS[${1}]} "/opt/idssys/defaults/get-data.sh cpu-usage") ; then
TIMEOUT=1
fi
fi