diff options
Diffstat (limited to 'initd/main.c')
-rw-r--r-- | initd/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/initd/main.c b/initd/main.c index 4eb4832..2b1a1cc 100644 --- a/initd/main.c +++ b/initd/main.c @@ -64,6 +64,14 @@ retry: supervisor_answer_status_request(sockfd, &addr, addrlen, rq.arg.status.filter); break; + case EIR_START: + rq.arg.startstop.id = be32toh(rq.arg.startstop.id); + supervisor_start(rq.arg.startstop.id); + break; + case EIR_STOP: + rq.arg.startstop.id = be32toh(rq.arg.startstop.id); + supervisor_stop(rq.arg.startstop.id); + break; } } |