diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-05 23:34:50 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-06 00:01:03 +0100 |
commit | 0bb9a1bd2ab1f748427650d49b8f4e93b6d211da (patch) | |
tree | d69b6cb766552473d6437de81802d331135dfe48 /package | |
parent | 421264b3d5dfcb59056c54e13aa56c53e381a042 (diff) |
adktest: use poweroff for metag, too
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'package')
-rwxr-xr-x | package/adktest/src/quit | 13 |
1 files changed, 8 insertions, 5 deletions
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 |