From daa6d04434cdd104a39909aca38e96743689c92f Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Thu, 3 Sep 2015 16:32:39 -0700 Subject: 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 --- uncrypt/Android.mk | 2 ++ uncrypt/uncrypt.rc | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 uncrypt/uncrypt.rc (limited to 'uncrypt') 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 -- cgit v1.2.3