summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorcshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-15 02:46:03 +0000
committercshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-15 02:46:03 +0000
commit8ec9d56a59cced2b14d8c21497182701559b77eb (patch)
tree8af92172f80440e80d6041907762f4e3796375db /target/linux
parent0859bbd9dd5ea0254d510c84d38857223e47f70a (diff)
[brcm47xx]: target (base-files): Fixed failsafe mode by adding back insmod diag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22186 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm b/target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm
new file mode 100644
index 000000000..5a5ffe96c
--- /dev/null
+++ b/target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+enable_reset_button() {
+ insmod diag
+}
+
+boot_hook_add preinit_main enable_reset_button
+