diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-06 08:33:28 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-06 08:33:28 +0100 |
commit | 47c3e6c1bc533d7867ed903b868a5f6c7b3db074 (patch) | |
tree | c1ac99d7dd90d600ecbdb5e6033d98a4e40d9ed9 | |
parent | f2915b1a5a233f54ed6c182ab64acfa31206e888 (diff) | |
parent | 0bb9a1bd2ab1f748427650d49b8f4e93b6d211da (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-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 |