From 8ec9d56a59cced2b14d8c21497182701559b77eb Mon Sep 17 00:00:00 2001 From: cshore Date: Thu, 15 Jul 2010 02:46:03 +0000 Subject: [PATCH] [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 --- .../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 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 + -- 2.20.1