Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit daa6d044 authored by Tom Cherry's avatar Tom Cherry
Browse files

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
parent 4c223f4e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -26,4 +26,6 @@ LOCAL_MODULE := uncrypt

LOCAL_STATIC_LIBRARIES := libbase liblog libfs_mgr libcutils

LOCAL_INIT_RC := uncrypt.rc

include $(BUILD_EXECUTABLE)

uncrypt/uncrypt.rc

0 → 100644
+9 −0
Original line number Diff line number Diff line
service uncrypt /system/bin/uncrypt
    class main
    disabled
    oneshot

service pre-recovery /system/bin/uncrypt --reboot
    class main
    disabled
    oneshot