aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2008-06-29 00:42:45 +0000
committerJohn Crispin <blogic@openwrt.org>2008-06-29 00:42:45 +0000
commitc5ee6874dcb51a01410de1b06c0bde433f1abc48 (patch)
tree180f825f87946233678fd17a154c452e8ec2f91d /target/linux/ifxmips/base-files
parenteff57536a8ce81116b8a919d8b2c5084788f3b6f (diff)
downloadmaster-187ad058-c5ee6874dcb51a01410de1b06c0bde433f1abc48.tar.gz
master-187ad058-c5ee6874dcb51a01410de1b06c0bde433f1abc48.tar.bz2
master-187ad058-c5ee6874dcb51a01410de1b06c0bde433f1abc48.zip
lots of ifxmips cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11607 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
+}