Skip to content

Commit

Permalink
Enable timekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
Flohack74 committed Jan 31, 2022
1 parent 5c3a3ff commit 874b06b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions init.hardware.rc
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,12 @@ on late-fs
mount_all /vendor/etc/fstab.${ro.hardware} --late

# Required for time_daemon
mkdir /persist/time 0770 system system
mkdir /persist/time 0777 system system
chmod 0777 /persist/time

# Start time daemon early so that the system time can be set early
start vendor.time_daemon
#start vendor.time_daemon
setprop sys.time.set true

on post-fs
# set RLIMIT_MEMLOCK to 64MB
Expand Down Expand Up @@ -647,6 +649,7 @@ service vendor.time_daemon /vendor/bin/time_daemon
class core
user root
group root
disabled

service vendor.ss_ramdump /vendor/bin/subsystem_ramdump
class main
Expand Down

0 comments on commit 874b06b

Please sign in to comment.