From de82c5a782da0c57710fb0b5ca0cd79a204d05ad Mon Sep 17 00:00:00 2001 From: Daniel Dickinson Date: Thu, 15 Jul 2010 02:46:03 +0000 Subject: [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 --- target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm 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 + -- cgit v1.2.3