blob: d5483d02b62b40cd53fd5b4b77902b69fda3cb08 [file] [log] [blame]
Tom Cherrya2859842015-08-14 13:06:45 -07001# One shot invocation to deal with encrypted volume.
2service defaultcrypto /system/bin/vdc --wait cryptfs mountdefaultencrypted
3 disabled
4 oneshot
5 # vold will set vold.decrypt to trigger_restart_framework (default
6 # encryption) or trigger_restart_min_framework (other encryption)
7
8# One shot invocation to encrypt unencrypted volumes
Paul Lawrence6ae86042015-10-21 09:28:39 -07009service encrypt /system/bin/vdc --wait cryptfs enablecrypto inplace default noui
Tom Cherrya2859842015-08-14 13:06:45 -070010 disabled
11 oneshot
12 # vold will set vold.decrypt to trigger_restart_framework (default
13 # encryption)