target (base-files): Fixed failsafe mode by adding back insmod diag
authorDaniel Dickinson <crazycshore@gmail.com>
Thu, 15 Jul 2010 02:46:03 +0000 (02:46 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Thu, 15 Jul 2010 02:46:03 +0000 (02:46 +0000)
SVN-Revision: 22186

target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm [new file with mode: 0644]

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 (file)
index 0000000..5a5ffe9
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+enable_reset_button() {
+       insmod diag
+}
+
+boot_hook_add preinit_main enable_reset_button
+