init.hardware.rc: fix permission for time_daemon

We moved time_daemon without setting its required permission. This CL is
to fix that.

Bug: 62184939
Test: walleye boots
Change-Id: I5e485a4e8a7c3eadde8d9a111c9e1bc33eee3f67
This commit is contained in:
Wei Wang
2017-06-28 10:41:21 -07:00
parent 614e203677
commit 44356709c3

View File

@@ -182,6 +182,10 @@ on late-fs
# Mount RW partitions which need run fsck
mount_all /vendor/etc/fstab.${ro.hardware} --late
# Required for time_daemon
mkdir /persist/time 0770 system system
mkdir /data/vendor/time 0700 system system
# Start time daemon early so that the system time can be set early
start time_daemon
@@ -414,10 +418,6 @@ on boot
# Wifi firmware reload path
chown wifi wifi /sys/module/wlan/parameters/fwpath
# Required for time_daemon
mkdir /persist/time 0770 system system
mkdir /data/vendor/time 0700 system system
# default country code
setprop ro.boot.wificountrycode 00