diff options
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 |