blob: 6c8a3f2b0311cebe23475cd14ced0797cc65c161 [file] [log] [blame]
Ethan Yonkerf1179622016-08-25 15:32:21 -05001
2#include <string.h>
3#include <stdio.h>
4#include <stdlib.h>
5
6#include <cutils/properties.h>
7
8int start_main(int argc, char *argv[])
9{
10 if(argc > 1) {
11 property_set("ctl.start", argv[1]);
12 } else {
13 /* defaults to starting the common services stopped by stop.c */
14 property_set("ctl.start", "netd");
15 property_set("ctl.start", "surfaceflinger");
16 property_set("ctl.start", "zygote");
17 property_set("ctl.start", "zygote_secondary");
18 }
19
20 return 0;
21}