Update temp.inc.sh
This commit is contained in:
@@ -388,7 +388,7 @@ CHECKTEMPSENSOR(){
|
|||||||
TIMEOUT=1
|
TIMEOUT=1
|
||||||
fi
|
fi
|
||||||
else
|
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
|
TIMEOUT=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user