summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2015-09-04 20:13:01 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-09-04 20:13:01 +0200
commitf6dd99f5099c3a8a9bce27726772f72a57b613b8 (patch)
tree0073fe6b0afd27ed8e45ae880b0b7308273cfc3f
parentam 834c92b7: am 8e9c6801: recovery: Fix the bug that truncates menu entries. (diff)
parentam cf11a160: am f8c303f9: Merge "move uncrypt from init.rc to uncrypt.rc" (diff)
downloadandroid_bootable_recovery-f6dd99f5099c3a8a9bce27726772f72a57b613b8.tar
android_bootable_recovery-f6dd99f5099c3a8a9bce27726772f72a57b613b8.tar.gz
android_bootable_recovery-f6dd99f5099c3a8a9bce27726772f72a57b613b8.tar.bz2
android_bootable_recovery-f6dd99f5099c3a8a9bce27726772f72a57b613b8.tar.lz
android_bootable_recovery-f6dd99f5099c3a8a9bce27726772f72a57b613b8.tar.xz
android_bootable_recovery-f6dd99f5099c3a8a9bce27726772f72a57b613b8.tar.zst
android_bootable_recovery-f6dd99f5099c3a8a9bce27726772f72a57b613b8.zip
-rw-r--r--uncrypt/Android.mk2
-rw-r--r--uncrypt/uncrypt.rc9
2 files changed, 11 insertions, 0 deletions
diff --git a/uncrypt/Android.mk b/uncrypt/Android.mk
index f31db4243..6422cb2f4 100644
--- a/uncrypt/Android.mk
+++ b/uncrypt/Android.mk
@@ -26,4 +26,6 @@ LOCAL_MODULE := uncrypt
LOCAL_STATIC_LIBRARIES := libbase liblog libfs_mgr libcutils
+LOCAL_INIT_RC := uncrypt.rc
+
include $(BUILD_EXECUTABLE)
diff --git a/uncrypt/uncrypt.rc b/uncrypt/uncrypt.rc
new file mode 100644
index 000000000..5f4c47936
--- /dev/null
+++ b/uncrypt/uncrypt.rc
@@ -0,0 +1,9 @@
+service uncrypt /system/bin/uncrypt
+ class main
+ disabled
+ oneshot
+
+service pre-recovery /system/bin/uncrypt --reboot
+ class main
+ disabled
+ oneshot