openwrt-owl/package/base-files/files/etc/rc.button/power

8 lines
81 B
Bash
Executable File

#!/bin/sh
[ "${ACTION}" = "released" ] || exit 0
exec /sbin/poweroff
return 0