From: John Crispin Date: Wed, 4 Jun 2014 19:55:58 +0000 (+0100) Subject: wait for kmod loader to complete on first boot X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1dbd229aa7a9100b2793024d01385b91015cd700;p=oweals%2Fprocd.git wait for kmod loader to complete on first boot Signed-off-by: John Crispin --- 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();