summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-12-16 14:23:22 -0800
committerJean-Baptiste Queru <jbq@google.com>2012-01-11 04:35:58 -0800
commit3e7b7739e3d4d7aaaa363645501036dafcc30ed3 (patch)
tree1e60045ebca12b40ed775c3bbab674c96e8a5d20 /rootdir
parenta6235eacf4b06b14b19125618d7aca570dbc02b0 (diff)
downloadsystem_core-3e7b7739e3d4d7aaaa363645501036dafcc30ed3.zip
system_core-3e7b7739e3d4d7aaaa363645501036dafcc30ed3.tar.gz
system_core-3e7b7739e3d4d7aaaa363645501036dafcc30ed3.tar.bz2
init: import the hardware specific init file in init.rc
This removes the hardcoding of the file import in init and instead allows the init.rc file to fully control what is loaded. Change-Id: I933e5bbab57f1e8705a370d660f92c6508da94d2 Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 145f642..23155ca 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -1,3 +1,5 @@
+import /init.${ro.hardware}.rc
+
on early-init
# Set init and its forked children's oom_adj.
write /proc/1/oom_adj -16