summaryrefslogtreecommitdiff
path: root/package/adktest/src/quit
blob: b664b9af638eb1223e4782f64c34b86c188d1bb9 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
arch=$(uname -m)
case $arch in
  arc|metag)
    poweroff
    ;;
  *)
    /usr/bin/qmp |nc 10.0.2.2 4444
    ;;
esac