aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/base-files/lib/preinit
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mcs814x/base-files/lib/preinit')
-rwxr-xr-xtarget/linux/mcs814x/base-files/lib/preinit/03_preinit_do_mcs814x.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/mcs814x/base-files/lib/preinit/03_preinit_do_mcs814x.sh b/target/linux/mcs814x/base-files/lib/preinit/03_preinit_do_mcs814x.sh
new file mode 100755
index 000000000..d509770c5
--- /dev/null
+++ b/target/linux/mcs814x/base-files/lib/preinit/03_preinit_do_mcs814x.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+do_mcs814x() {
+ . /lib/mcs814x.sh
+
+ mcs814x_board_detect
+}
+
+boot_hook_add preinit_main do_mcs814x