OSDN Git Service

Merge "add vold to "shutdown critical"" am: da85cb71b3 am: 228b95fa15
[android-x86/system-vold.git] / vdc.rc
1 # One shot invocation to deal with encrypted volume.
2 on defaultcrypto
3     exec - root -- /system/bin/vdc --wait cryptfs mountdefaultencrypted
4     # vold will set vold.decrypt to trigger_restart_framework (default
5     # encryption) or trigger_restart_min_framework (other encryption)
6
7 # One shot invocation to encrypt unencrypted volumes
8 on encrypt
9     start surfaceflinger
10     exec - root -- /system/bin/vdc --wait cryptfs enablecrypto inplace default noui
11     # vold will set vold.decrypt to trigger_restart_framework (default
12     # encryption)