diff options
-rw-r--r-- | package/base-files/files/etc/rc.button/power | 5 |
1 files changed, 5 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 100644 index 0000000..0cb74b9 --- /dev/null +++ b/package/base-files/files/etc/rc.button/power @@ -0,0 +1,5 @@ +#!/bin/sh + +[ "${ACTION}" = "released" ] || exit 0 + +exec /sbin/poweroff |