summaryrefslogtreecommitdiff
path: root/package/adktest/src
diff options
context:
space:
mode:
Diffstat (limited to 'package/adktest/src')
-rwxr-xr-xpackage/adktest/src/quit7
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