summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/adktest/Makefile2
-rwxr-xr-xpackage/adktest/src/quit7
2 files changed, 7 insertions, 2 deletions
diff --git a/package/adktest/Makefile b/package/adktest/Makefile
index e974d4275..b99ab913c 100644
--- a/package/adktest/Makefile
+++ b/package/adktest/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= adktest
PKG_VERSION:= 0.1
-PKG_RELEASE:= 9
+PKG_RELEASE:= 10
PKG_DESCR:= helper tools and scripts for qemu testing
PKG_SECTION:= base/misc
PKG_URL:= http://openadk.org/
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