From ad3ddbf04850a9ab229e21b70bf637090b33bf00 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 5 Mar 2016 20:08:56 +0100 Subject: [PATCH] init: reduce delay after starting kmodloader Signed-off-by: Felix Fietkau --- initd/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } } -- 2.30.2