diff options
Diffstat (limited to 'package/base-files/files/etc/rc.button/power')
-rwxr-xr-x | package/base-files/files/etc/rc.button/power | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/base-files/files/etc/rc.button/power b/package/base-files/files/etc/rc.button/power new file mode 100755 index 0000000..c245744 --- /dev/null +++ b/package/base-files/files/etc/rc.button/power @@ -0,0 +1,7 @@ +#!/bin/sh + +[ "${ACTION}" = "released" ] || exit 0 + +exec /sbin/poweroff + +return 0 |