summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-06-04 11:46:00 +0200
committerJohn Crispin <blogic@openwrt.org>2013-06-04 16:17:01 +0200
commit39472c8d017d4e3bf07d73e47d10f42bc6a8b65f (patch)
tree689b4ee7f3df7870d21911c37cca5c7a8c1a93c5
parent14afa266e26e878ccdb828c9582e402223c41fcf (diff)
downloadunitd-39472c8d017d4e3bf07d73e47d10f42bc6a8b65f.tar
unitd-39472c8d017d4e3bf07d73e47d10f42bc6a8b65f.zip
load modules from /etc/modules-boot.d/ before preinit
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 9d2ab89..f97a9ea 100644
--- a/main.c
+++ b/main.c
@@ -40,6 +40,7 @@ static int main_procd_init(int argc, char **argv)
procd_early();
debug_init();
watchdog_init();
+ system("/sbin/kmodloader /etc/modules-boot.d/");
uloop_init();
hotplug("/etc/hotplug-preinit.json");
procd_preinit();