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

4 lines
63 B
Text
Raw Normal View History

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