summaryrefslogtreecommitdiff
path: root/vdc.rc
diff options
context:
space:
mode:
Diffstat (limited to 'vdc.rc')
-rw-r--r--vdc.rc13
1 files changed, 13 insertions, 0 deletions
diff --git a/vdc.rc b/vdc.rc
new file mode 100644
index 00000000..e8428697
--- /dev/null
+++ b/vdc.rc
@@ -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)