Merge "Move zygote init config to its own file."
This commit is contained in:
commit
5da2dbbc93
3 changed files with 17 additions and 8 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
import /init.environ.rc
|
import /init.environ.rc
|
||||||
import /init.usb.rc
|
import /init.usb.rc
|
||||||
import /init.${ro.hardware}.rc
|
import /init.${ro.hardware}.rc
|
||||||
|
import /init.${ro.zygote}.rc
|
||||||
import /init.trace.rc
|
import /init.trace.rc
|
||||||
|
|
||||||
on early-init
|
on early-init
|
||||||
|
|
@ -500,14 +501,6 @@ service surfaceflinger /system/bin/surfaceflinger
|
||||||
group graphics drmrpc
|
group graphics drmrpc
|
||||||
onrestart restart zygote
|
onrestart restart zygote
|
||||||
|
|
||||||
service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
|
|
||||||
class main
|
|
||||||
socket zygote stream 660 root system
|
|
||||||
onrestart write /sys/android_power/request_state wake
|
|
||||||
onrestart write /sys/power/state on
|
|
||||||
onrestart restart media
|
|
||||||
onrestart restart netd
|
|
||||||
|
|
||||||
service drm /system/bin/drmserver
|
service drm /system/bin/drmserver
|
||||||
class main
|
class main
|
||||||
user drm
|
user drm
|
||||||
|
|
|
||||||
8
rootdir/init.zygote32.rc
Normal file
8
rootdir/init.zygote32.rc
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
|
||||||
|
class main
|
||||||
|
socket zygote stream 660 root system
|
||||||
|
onrestart write /sys/android_power/request_state wake
|
||||||
|
onrestart write /sys/power/state on
|
||||||
|
onrestart restart media
|
||||||
|
onrestart restart netd
|
||||||
|
|
||||||
8
rootdir/init.zygote64.rc
Normal file
8
rootdir/init.zygote64.rc
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server
|
||||||
|
class main
|
||||||
|
socket zygote stream 660 root system
|
||||||
|
onrestart write /sys/android_power/request_state wake
|
||||||
|
onrestart write /sys/power/state on
|
||||||
|
onrestart restart media
|
||||||
|
onrestart restart netd
|
||||||
|
|
||||||
Loading…
Add table
Reference in a new issue