summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/linux/adm5120/base-files/lib/preinit/05_preinit_do_adm5120.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/adm5120/base-files/lib/preinit/05_preinit_do_adm5120.sh b/target/linux/adm5120/base-files/lib/preinit/05_preinit_do_adm5120.sh
new file mode 100644
index 0000000000..4fca1e71b2
--- /dev/null
+++ b/target/linux/adm5120/base-files/lib/preinit/05_preinit_do_adm5120.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+do_adm5120() {
+ . /lib/adm5120.sh
+}
+
+boot_hook_add preinit_main do_adm5120