diff options
| author | Colin Cross <ccross@android.com> | 2010-04-09 12:26:06 -0700 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2010-04-13 20:06:03 -0700 |
| commit | 31712beaf7de127a1249b909cdefffbc25fff076 (patch) | |
| tree | 0fb628b0d0064450221c1765c33832da966e8145 /init/init.c | |
| parent | dc61c9cda5d1b9ec455ff4b26595f523a36557c8 (diff) | |
| download | system_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-x | init/init.c | 3 |
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 |
