land: Start sensors and set relevant perms

Change-Id: I379465f7a0bb1a8b5539861672c87d6dbcb2ffe5
This commit is contained in:
Zhao Wei Liew 2016-10-31 22:46:04 +08:00
parent da5ee5a596
commit 2ecbcc8276

View file

@ -350,6 +350,14 @@ on post-fs-data
mkdir /data/misc/qti-logkit/socket-public/ 2750 system qcom_diag
mkdir /data/misc/qti-logkit/logdata/ 2750 system shell
# Sensors
chmod 0775 /persist/sensors
chmod 0664 /persist/sensors/sensors_settings
chown system root /persist/sensors/sensors_settings
mkdir /data/misc/sensors
chmod 0775 /data/misc/sensors
service perfd /system/vendor/bin/perfd
class main
user root
@ -622,7 +630,6 @@ service sensors /system/bin/sensors.qcom
class core
user root
group root
disabled
on property:ro.use_data_netmgrd=false
# netmgr not supported on specific target