summaryrefslogtreecommitdiffstats
path: root/rootdir/init.zygote64.rc
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-03-31 11:08:02 +0100
committerNarayan Kamath <narayan@google.com>2014-03-31 12:31:11 +0100
commit4456a55ce69cd5b8ad39349ed55d3efc3512bffa (patch)
tree2d3429f7045204e56b8e4f38c8b4eae1ad6de4a1 /rootdir/init.zygote64.rc
parent47770b7396186d6700688fd039320283e5b68501 (diff)
downloadsystem_core-4456a55ce69cd5b8ad39349ed55d3efc3512bffa.tar.gz
system_core-4456a55ce69cd5b8ad39349ed55d3efc3512bffa.tar.bz2
system_core-4456a55ce69cd5b8ad39349ed55d3efc3512bffa.zip
Move zygote init config to its own file.
This allows us to choose different configs depending on whether or not the target is 64 capable, and what its preferred default is. bug: 13647418 Change-Id: Ie1ce4245a3add7544c87d27c635ee390f4062523
Diffstat (limited to 'rootdir/init.zygote64.rc')
-rw-r--r--rootdir/init.zygote64.rc8
1 files changed, 8 insertions, 0 deletions
diff --git a/rootdir/init.zygote64.rc b/rootdir/init.zygote64.rc
new file mode 100644
index 000000000..afb6d63ce
--- /dev/null
+++ b/rootdir/init.zygote64.rc
@@ -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
+