@@ -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/
@@ -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