diff options
Diffstat (limited to 'package/adktest/src')
-rwxr-xr-x | package/adktest/src/quit | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/adktest/src/quit b/package/adktest/src/quit index 23080d5a2..6e6a91623 100755 --- a/package/adktest/src/quit +++ b/package/adktest/src/quit @@ -1,2 +1,7 @@ #!/bin/sh -/usr/bin/qmp |nc 10.0.2.2 4444 +arch=$(uname -m) +if [ "$arch" = "arc" ]; then + poweroff +else + /usr/bin/qmp |nc 10.0.2.2 4444 +fi |