HI Vijay: To your question.... Can you simply prepare two separate init.rc file?
Well, I have a similar question towards the init scripts, I want to divide the init sequences into two stage, the first boot stage will start automatically when boot up the second stage would be decided by user, they can choose to start it or not. say, I want zygote, installd start during boot stage, well postpone mtpd to start later.. Dennis On Fri, Nov 20, 2009 at 8:09 AM, vj <[email protected]> wrote: > Anyone know of a simple way to selectively start a service based of > the type of build (USER, USERDEBUG, ENG) ? So, for example, I would > like to start a service using "logwrapper" in the USERDEBUG/ENG build > and without it in the USER build. > > Example: > In USERDEBUG/ENG build: > service my-service /system/bin/logwrapper /system/bin/test > > In USER builds: > service my-service /system/bin/test > > Thanks, > Vijay > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
