From 0bb9a1bd2ab1f748427650d49b8f4e93b6d211da Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Dec 2015 23:34:50 +0100 Subject: adktest: use poweroff for metag, too Signed-off-by: Waldemar Brodkorb --- package/adktest/src/quit | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'package/adktest/src/quit') diff --git a/package/adktest/src/quit b/package/adktest/src/quit index 6e6a91623..b664b9af6 100755 --- a/package/adktest/src/quit +++ b/package/adktest/src/quit @@ -1,7 +1,10 @@ #!/bin/sh arch=$(uname -m) -if [ "$arch" = "arc" ]; then - poweroff -else - /usr/bin/qmp |nc 10.0.2.2 4444 -fi +case $arch in + arc|metag) + poweroff + ;; + *) + /usr/bin/qmp |nc 10.0.2.2 4444 + ;; +esac -- cgit v1.2.3