diff options
author | Tom Cherry <tomcherry@google.com> | 2015-08-14 13:06:45 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2015-08-19 17:36:11 -0700 |
commit | a285984ae404b89e87a1f97486bf8f9c8a0fab0f (patch) | |
tree | 7b904a7237db88d7dd7c70fd596b39f5b330afdf /vdc.rc | |
parent | f298f6be4c8df8745735676e37ccc963909ff3b2 (diff) | |
download | vold-a285984ae404b89e87a1f97486bf8f9c8a0fab0f.tar.gz |
bundle init.rc contents with its service
Bug: 23186545
Change-Id: I82d8b6dc54ebe32ceb1ed997aaab3701ee7b6c4a
Diffstat (limited to 'vdc.rc')
-rw-r--r-- | vdc.rc | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +# One shot invocation to deal with encrypted volume. +service defaultcrypto /system/bin/vdc --wait cryptfs mountdefaultencrypted + disabled + oneshot + # vold will set vold.decrypt to trigger_restart_framework (default + # encryption) or trigger_restart_min_framework (other encryption) + +# One shot invocation to encrypt unencrypted volumes +service encrypt /system/bin/vdc --wait cryptfs enablecrypto inplace default + disabled + oneshot + # vold will set vold.decrypt to trigger_restart_framework (default + # encryption) |