Skip to content

Commit

Permalink
recovery: reduce overall boot time
Browse files Browse the repository at this point in the history
Move recovery-refresh and recovery-persist to onshot exec_background.
synchronous exec commands impact boot time.

Test: none
Bug: 65736247
Change-Id: Ic065c27b21f9bacbadee1e8c07bb15e2c41e0082
  • Loading branch information
Mark Salyzyn committed Sep 18, 2017
1 parent ca5a071 commit 61744b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recovery-persist.rc
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion recovery-refresh.rc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
on post-fs
exec - system log -- /system/bin/recovery-refresh
exec_background - system log -- /system/bin/recovery-refresh

0 comments on commit 61744b9

Please sign in to comment.