From: Felix Fietkau Date: Sat, 5 Mar 2016 19:08:56 +0000 (+0100) Subject: init: reduce delay after starting kmodloader X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ad3ddbf04850a9ab229e21b70bf637090b33bf00;p=oweals%2Fprocd.git init: reduce delay after starting kmodloader Signed-off-by: Felix Fietkau --- diff --git a/initd/init.c b/initd/init.c index 9818c4f..4d17563 100644 --- a/initd/init.c +++ b/initd/init.c @@ -106,10 +106,10 @@ main(int argc, char **argv) } else { int i; - for (i = 0; i < 120; i++) { + for (i = 0; i < 1200; i++) { if (waitpid(pid, NULL, WNOHANG) > 0) break; - sleep(1); + usleep(10 * 1000); watchdog_ping(); } }