projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e275c38
)
init: reduce delay after starting kmodloader
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Mar 2016 19:08:56 +0000
(20:08 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Mar 2016 19:08:56 +0000
(20:08 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
initd/init.c
patch
|
blob
|
history
diff --git
a/initd/init.c
b/initd/init.c
index 9818c4fbe5912308d844927d884746aad859806e..4d17563d411c178a809196bfc6fc67347b7a25d4 100644
(file)
--- 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 < 120
0
; i++) {
if (waitpid(pid, NULL, WNOHANG) > 0)
break;
-
sleep(1
);
+
usleep(10 * 1000
);
watchdog_ping();
}
}