Browse Source

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
Mark Salyzyn 3 years ago
parent
commit
61744b95d0
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      recovery-persist.rc
  2. 1
    1
      recovery-refresh.rc

+ 1
- 1
recovery-persist.rc View File

@@ -1,3 +1,3 @@
1 1
 on post-fs-data
2 2
     mkdir /data/misc/recovery 0770 system log
3
-    exec - system log -- /system/bin/recovery-persist
3
+    exec_background - system log -- /system/bin/recovery-persist

+ 1
- 1
recovery-refresh.rc View File

@@ -1,2 +1,2 @@
1 1
 on post-fs
2
-    exec - system log -- /system/bin/recovery-refresh
2
+    exec_background - system log -- /system/bin/recovery-refresh