diff options
Diffstat (limited to 'target/linux/ifxmips/base-files/etc')
-rw-r--r-- | target/linux/ifxmips/base-files/etc/hotplug.d/button/00-reset | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ifxmips/base-files/etc/hotplug.d/button/00-reset b/target/linux/ifxmips/base-files/etc/hotplug.d/button/00-reset new file mode 100644 index 000000000..ef70cd49a --- /dev/null +++ b/target/linux/ifxmips/base-files/etc/hotplug.d/button/00-reset @@ -0,0 +1,3 @@ +[ "$ACTION" = "released" -a "$BUTTON" = reset ] && { + reboot +} |