diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2017-07-21 12:34:58 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2017-07-21 12:41:30 +0000 |
commit | c8ddafc39b1253a148b7128aac6c46ff7cca9917 (patch) | |
tree | 3b08a079e2d53f7a0729f7ebcb1aca507dcb89c1 /tcwg-benchmark.sh | |
parent | 3929c122f2e9d2ff68166206398f21483f2843f2 (diff) |
Revert "tcwg-benchmark.sh: Use ssh -t for remote reboot."
The problem is with tcwg-benchmark sudo privileges,
which accept /sbin/reboot and not reboot.
This reverts commit 3929c122f2e9d2ff68166206398f21483f2843f2.
Change-Id: I7c687be3ca55fed7a0831205c5c534ec3f2108fb
Diffstat (limited to 'tcwg-benchmark.sh')
-rwxr-xr-x | tcwg-benchmark.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh index 3255dd2e..cea219ad 100755 --- a/tcwg-benchmark.sh +++ b/tcwg-benchmark.sh @@ -110,7 +110,7 @@ rsync -az --delete bmk-scripts/ "$boardname:bmk-scripts/" if $reboot; then # Reboot the board - ssh -t $boardname sudo reboot + ssh $boardname sudo reboot # Wait until the ssh server is ready sleep 30 # Give time to the board to shutdown ret=0 |