summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-04-11 10:02:11 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-11 10:02:11 +0000
commit7bd273e04e77a60598d26a358861568fe11f8efc (patch)
tree19988eaa1d9412ad435d089d4b30b6befcb29b38 /rootdir
parentcf805481bf951df177c0b63ae7f319308cba1f4a (diff)
parentd85efaa068708b19db3cc647ba62c0a2feb7da23 (diff)
downloadsystem_core-7bd273e04e77a60598d26a358861568fe11f8efc.zip
system_core-7bd273e04e77a60598d26a358861568fe11f8efc.tar.gz
system_core-7bd273e04e77a60598d26a358861568fe11f8efc.tar.bz2
am d85efaa0: am a73f7e92: am 822b1a02: Merge "Add a config for dual mode zygote."
* commit 'd85efaa068708b19db3cc647ba62c0a2feb7da23': Add a config for dual mode zygote.
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.zygote32_64.rc12
1 files changed, 12 insertions, 0 deletions
diff --git a/rootdir/init.zygote32_64.rc b/rootdir/init.zygote32_64.rc
new file mode 100644
index 0000000..3d60a31
--- /dev/null
+++ b/rootdir/init.zygote32_64.rc
@@ -0,0 +1,12 @@
+service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote
+ 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 zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote --socket-name=zygote_secondary
+ class main
+ socket zygote_secondary stream 660 root system
+ onrestart restart zygote