diff options
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/init.rc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index c00c590aa..3709b82db 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -220,14 +220,17 @@ on post-fs mkdir /cache/lost+found 0770 root root on post-fs-data - installkey /data - # We chown/chmod /data again so because mount is run as root + defaults chown system system /data chmod 0771 /data # We restorecon /data in case the userdata partition has been reset. restorecon /data + # Make sure we have the device encryption key + start logd + start vold + installkey /data + # Start bootcharting as soon as possible after the data partition is # mounted to collect more data. mkdir /data/bootchart 0755 shell shell @@ -449,7 +452,6 @@ on property:vold.decrypt=trigger_restart_min_framework class_start main on property:vold.decrypt=trigger_restart_framework - installkey /data class_start main class_start late_start |
