init.rc的disabled含义

http://www.kandroid.org/android_pdk/bring_up.html

http://androidnote.com/Article_show.asp?ArticleID=649

如果该服务选项中没有disabled定义,则在init.rc中解析到这个服务的时候,会马上执行这个服务。而如果在服务的选项中增加了disabled定义,则该服务不会在init.rc中启动,需要我们在代码中使用以下方法来启动:property_set("ctl.start", "wifi_dhcpcd");上句话的意思是,我要启动wifi_dhcpd这个服务了。


原文地址:https://www.cnblogs.com/yuzaipiaofei/p/4124536.html