summaryrefslogtreecommitdiff
path: root/target/linux/ifxmips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-06-29 00:42:45 +0000
committerJohn Crispin <john@openwrt.org>2008-06-29 00:42:45 +0000
commite2a5ae841b01c6e4a77cdcf4f4c2dfd8e0ed9be7 (patch)
tree44817f270f1ea49d00e5f456870321fe268efcba /target/linux/ifxmips/base-files/etc
parent8c3c0d38b8cdab599b0cf1321fa5d7464065f3c5 (diff)
downloadmtk-20170518-e2a5ae841b01c6e4a77cdcf4f4c2dfd8e0ed9be7.zip
mtk-20170518-e2a5ae841b01c6e4a77cdcf4f4c2dfd8e0ed9be7.tar.gz
mtk-20170518-e2a5ae841b01c6e4a77cdcf4f4c2dfd8e0ed9be7.tar.bz2
lots of ifxmips cleanups
SVN-Revision: 11607
Diffstat (limited to 'target/linux/ifxmips/base-files/etc')
-rw-r--r--target/linux/ifxmips/base-files/etc/hotplug.d/button/00-reset3
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 0000000..ef70cd4
--- /dev/null
+++ b/target/linux/ifxmips/base-files/etc/hotplug.d/button/00-reset
@@ -0,0 +1,3 @@
+[ "$ACTION" = "released" -a "$BUTTON" = reset ] && {
+ reboot
+}