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:
@@ -26,4 +26,6 @@ LOCAL_MODULE := uncrypt
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libbase liblog libfs_mgr libcutils
|
||||
|
||||
LOCAL_INIT_RC := uncrypt.rc
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
service uncrypt /system/bin/uncrypt
|
||||
class main
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service pre-recovery /system/bin/uncrypt --reboot
|
||||
class main
|
||||
disabled
|
||||
oneshot
|
||||
Reference in New Issue
Block a user