projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
311eb16
)
force all runqueue tasks to a timeout of 15s
author
John Crispin
<blogic@openwrt.org>
Wed, 29 Jan 2014 03:30:57 +0000
(
03:30
+0000)
committer
John Crispin
<blogic@openwrt.org>
Wed, 29 Jan 2014 03:31:50 +0000
(
03:31
+0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
rcS.c
patch
|
blob
|
history
diff --git
a/rcS.c
b/rcS.c
index 395d992590d6d498204fa40ba54893ec75bd5cd8..039b595c6d74d46f7ecb991adfada37318ec180f 100644
(file)
--- a/
rcS.c
+++ b/
rcS.c
@@
-115,6
+115,7
@@
static void add_initd(struct runqueue *q, char *file, char *param)
s = calloc_a(sizeof(*s), &f, strlen(file) + 1, &p, strlen(param) + 1);
s->proc.task.type = &initd_type;
s->proc.task.complete = q_initd_complete;
+ s->proc.task.run_timeout = 15000;
s->param = p;
s->file = f;
strcpy(s->param, param);