android boot - where is the init.%hardware%.rc read in init.c ? where are services started?

6k views Asked by At

Going through the code in init.c and trying to figure out 2 things:

  • Where is the hardware specific init.%hardware%.rc read ?

  • Where are the services started - meaning zygote, /system/bin/servicemanager etc

An example of an init.%hardware%.rc would be appreciated.

1

There are 1 answers

0
Mr_and_Mrs_D On BEST ANSWER

Ok got it - both questions are answered in init.rc.

NB: I refer to KitKat - YMMV