mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
12 lines
118 B
Bash
Executable file
12 lines
118 B
Bash
Executable file
#!/bin/sh
|
|
|
|
xmessage -buttons reboot,halt "$@" ""
|
|
|
|
case "$?" in
|
|
101)
|
|
/sbin/reboot
|
|
;;
|
|
102)
|
|
/sbin/halt
|
|
;;
|
|
esac
|