diff options
author | John Crispin <blogic@openwrt.org> | 2014-01-29 04:30:57 +0100 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-01-29 04:31:50 +0100 |
commit | e0921ed71bab0ad7d2344774a33c22809eb10190 (patch) | |
tree | be76a5efc9f815ebdad0340bb6cfc2cb469decf6 | |
parent | 311eb167fce73dbc97c7d9dfcc43a59b5695a8f7 (diff) | |
download | unitd-e0921ed71bab0ad7d2344774a33c22809eb10190.tar unitd-e0921ed71bab0ad7d2344774a33c22809eb10190.zip |
force all runqueue tasks to a timeout of 15s
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r-- | rcS.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |