projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lots of ifxmips cleanups
[openwrt-10.03/.git]
/
target
/
linux
/
ifxmips
/
base-files
/
etc
/
hotplug.d
/
button
/
00-reset
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
(file)
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
+}