Update temp.inc.sh
This commit is contained in:
1 parent
7dda17e07c
commit
a1db3da15a
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user