aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/base-files/lib
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2010-07-15 02:46:03 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2010-07-15 02:46:03 +0000
commit17ba48cd90af1e8dbd9f6bd24f044fb24367835f (patch)
tree68ab7641e6435ac938354a01b4db88868b279700 /target/linux/brcm47xx/base-files/lib
parentac5279e6bcdd29b24060365fc790d39e2b8de26d (diff)
downloadupstream-17ba48cd90af1e8dbd9f6bd24f044fb24367835f.tar.gz
upstream-17ba48cd90af1e8dbd9f6bd24f044fb24367835f.tar.bz2
upstream-17ba48cd90af1e8dbd9f6bd24f044fb24367835f.zip
target (base-files): Fixed failsafe mode by adding back insmod diag
SVN-Revision: 22186
Diffstat (limited to 'target/linux/brcm47xx/base-files/lib')
-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
+