aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/base-files
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
parent8c3c0d38b8cdab599b0cf1321fa5d7464065f3c5 (diff)
downloadupstream-e2a5ae841b01c6e4a77cdcf4f4c2dfd8e0ed9be7.tar.gz
upstream-e2a5ae841b01c6e4a77cdcf4f4c2dfd8e0ed9be7.tar.bz2
upstream-e2a5ae841b01c6e4a77cdcf4f4c2dfd8e0ed9be7.zip
lots of ifxmips cleanups
SVN-Revision: 11607
Diffstat (limited to 'target/linux/ifxmips/base-files')
-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 0000000000..ef70cd49a5
--- /dev/null
+++ b/target/linux/ifxmips/base-files/etc/hotplug.d/button/00-reset
@@ -0,0 +1,3 @@
+[ "$ACTION" = "released" -a "$BUTTON" = reset ] && {
+ reboot
+}