From 7dda17e07c5d99280484b4b4f8ad5d754a5b6232 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 29 Feb 2024 07:21:03 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index ae88134b..bc24f9a3 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -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