From 61744b95d049f78ee1483b1a8f421e95a91725fa Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Mon, 18 Sep 2017 13:36:30 -0700 Subject: [PATCH] recovery: reduce overall boot time Move recovery-refresh and recovery-persist to onshot exec_background. synchronous exec commands impact boot time. Test: none Bug: 65736247 Change-Id: Ic065c27b21f9bacbadee1e8c07bb15e2c41e0082 --- recovery-persist.rc | 2 +- recovery-refresh.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recovery-persist.rc b/recovery-persist.rc index 6761627d..135a3c33 100644 --- a/recovery-persist.rc +++ b/recovery-persist.rc @@ -1,3 +1,3 @@ on post-fs-data mkdir /data/misc/recovery 0770 system log - exec - system log -- /system/bin/recovery-persist + exec_background - system log -- /system/bin/recovery-persist diff --git a/recovery-refresh.rc b/recovery-refresh.rc index 14b05cca..9fefc819 100644 --- a/recovery-refresh.rc +++ b/recovery-refresh.rc @@ -1,2 +1,2 @@ on post-fs - exec - system log -- /system/bin/recovery-refresh + exec_background - system log -- /system/bin/recovery-refresh