From e0921ed71bab0ad7d2344774a33c22809eb10190 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 29 Jan 2014 03:30:57 +0000 Subject: [PATCH] force all runqueue tasks to a timeout of 15s Signed-off-by: John Crispin --- rcS.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rcS.c b/rcS.c index 395d992..039b595 100644 --- 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); -- 2.11.0