aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dickinson <daniel@cshore.neomailbox.net>2010-07-15 02:46:03 +0000
committerDaniel Dickinson <daniel@cshore.neomailbox.net>2010-07-15 02:46:03 +0000
commitde82c5a782da0c57710fb0b5ca0cd79a204d05ad (patch)
tree8af92172f80440e80d6041907762f4e3796375db
parentde8deb8a3ab98a0e53e6d6215592f61c42f950f5 (diff)
downloadmaster-187ad058-de82c5a782da0c57710fb0b5ca0cd79a204d05ad.tar.gz
master-187ad058-de82c5a782da0c57710fb0b5ca0cd79a204d05ad.tar.bz2
master-187ad058-de82c5a782da0c57710fb0b5ca0cd79a204d05ad.zip
[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
-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 0000000000..5a5ffe96c0
--- /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
+