move uncrypt from init.rc to uncrypt.rc

Move uncrypt from /init.rc to /system/etc/init/uncrypt.rc using the
LOCAL_INIT_RC mechanism

Bug 23186545

Change-Id: Ib8cb6dffd2212f524298279787fd557bc84aa7b9
This commit is contained in:
Tom Cherry
2015-09-03 16:32:39 -07:00
parent 4c223f4e39
commit daa6d04434
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -26,4 +26,6 @@ LOCAL_MODULE := uncrypt
LOCAL_STATIC_LIBRARIES := libbase liblog libfs_mgr libcutils
LOCAL_INIT_RC := uncrypt.rc
include $(BUILD_EXECUTABLE)
+9
View File
@@ -0,0 +1,9 @@
service uncrypt /system/bin/uncrypt
class main
disabled
oneshot
service pre-recovery /system/bin/uncrypt --reboot
class main
disabled
oneshot