From 1dbd229aa7a9100b2793024d01385b91015cd700 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 4 Jun 2014 20:55:58 +0100 Subject: [PATCH] wait for kmod loader to complete on first boot Signed-off-by: John Crispin --- initd/init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/initd/init.c b/initd/init.c index d458f29..7621b30 100644 --- a/initd/init.c +++ b/initd/init.c @@ -107,6 +107,8 @@ main(int argc, char **argv) } if (pid <= 0) ERROR("Failed to start kmodloader instance\n"); + else + waitpid(pid, NULL, 0); uloop_init(); preinit(); uloop_run(); -- 2.25.1