diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-03-23 10:47:21 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-03-23 10:47:21 +0000 |
commit | 8b4b66ac082d3d5a86e1ca4cc9a12ea78c1d606c (patch) | |
tree | 1cf681e6ec5d6a8ae7903d1c6ff8a1254de084d0 /tcwg-benchmark.sh | |
parent | 1fe3dfadd04bfe189530f9dd1d057c195afc7b37 (diff) |
tcwg-benchmark.sh: Use dedicated (non-multiplexed) connection for reboot
Change-Id: I50adad4a8fc28f63bdcab9fd55eb16e31607c2f8
Diffstat (limited to 'tcwg-benchmark.sh')
-rwxr-xr-x | tcwg-benchmark.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh index ce31dbc8..d3221d4f 100755 --- a/tcwg-benchmark.sh +++ b/tcwg-benchmark.sh @@ -259,7 +259,8 @@ while [ $tries_left != 0 ]; do # Reboot the board. # Ping board every second (ServerAliveInterval=1) to avoid # waiting [default] 5min for ssh to break connection. - ssh -oServerAliveInterval=1 $boardname sudo /sbin/reboot || true + ssh -Snone -oServerAliveInterval=1 $boardname sudo /sbin/reboot \ + || true # Wait until the ssh server is ready sleep 30 # Give time to the board to shutdown ret=0 |