summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm47xx')
-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 0000000..5a5ffe9
--- /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
+