diff options
-rw-r--r-- | rcS.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -115,7 +115,8 @@ 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; + if (!strcmp(param, "stop")) + s->proc.task.run_timeout = 15000; s->param = p; s->file = f; strcpy(s->param, param); |