openwrt-owl/target/linux/ifxmips/base-files/etc/hotplug.d/button/00-reset

4 lines
63 B
Plaintext

[ "$ACTION" = "released" -a "$BUTTON" = reset ] && {
reboot
}