aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+