aboutsummaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorceltare21 <celtare21@gmail.com>2019-06-02 12:40:07 +0300
committerceltare21 <celtare21@gmail.com>2019-06-14 14:06:55 +0300
commit9c3ec59e35fabac3c475f0218f0dee3f87edb0e7 (patch)
tree3af5e3a3132596d8d08e13be6caac437e83993c1 /rootdir
parenta974a23dbfc43e8a5f2bb3cb3c2b216c81fe14f4 (diff)
mata: Start time_daemon early
Signed-off-by: celtare21 <celtare21@gmail.com>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.mata.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/rootdir/etc/init.mata.rc b/rootdir/etc/init.mata.rc
index 974fa873..573a7fd6 100644
--- a/rootdir/etc/init.mata.rc
+++ b/rootdir/etc/init.mata.rc
@@ -211,6 +211,11 @@ on late-fs
start vendor.configstore-hal
start vendor.gralloc-2-0
+ # Required for time_daemon
+ mkdir /persist/time 0770 system system
+ # Start time daemon early so that the system time can be set early
+ start vendor.time_daemon
+
# Wait for hwservicemanager ready since fsck might be triggered in mount_all --late
# In such case, init won't responce the property_set from hwservicemanager and then
# cause services for bootanim not running.