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

6 lines
71 B
Bash

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