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