Update temp.inc.sh

This commit is contained in:
2024-02-29 07:21:03 -06:00
parent 44177c3ad6
commit 7dda17e07c

View File

@@ -388,7 +388,7 @@ CHECKTEMPSENSOR(){
TIMEOUT=1
fi
else
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
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
TIMEOUT=1
fi
fi