aboutsummaryrefslogtreecommitdiffstats
path: root/init/init.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-04-09 12:26:06 -0700
committerColin Cross <ccross@android.com>2010-04-13 20:06:03 -0700
commit31712beaf7de127a1249b909cdefffbc25fff076 (patch)
tree0fb628b0d0064450221c1765c33832da966e8145 /init/init.c
parentdc61c9cda5d1b9ec455ff4b26595f523a36557c8 (diff)
downloadsystem_core-31712beaf7de127a1249b909cdefffbc25fff076.tar.gz
system_core-31712beaf7de127a1249b909cdefffbc25fff076.tar.bz2
system_core-31712beaf7de127a1249b909cdefffbc25fff076.zip
Move filesystem mounting into a new "fs" init level
Devices with non-MTD storage need to override the filesystem mounting commands in init.rc. Moving them to a new "fs" init level allows a custom init.<device>.rc to handle the mounting. Change-Id: If0e655139b9734650fb798b6eb0a90e2241fc29b
Diffstat (limited to 'init/init.c')
-rwxr-xr-xinit/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 4d98cc2f..65d3d845 100755
--- a/init/init.c
+++ b/init/init.c
@@ -929,6 +929,9 @@ int main(int argc, char **argv)
/* execute all the boot actions to get us started */
action_for_each_trigger("init", action_add_queue_tail);
+ action_for_each_trigger("early-fs", action_add_queue_tail);
+ action_for_each_trigger("fs", action_add_queue_tail);
+ action_for_each_trigger("post-fs", action_add_queue_tail);
drain_action_queue();
/* read any property files on system or data and