init.qcom.rc: update sensordaemon path to vendor/bin

Update init.qcom.rc script for sensor service to reflect
/vendor/bin/sensors.qcom instead of system/bin/sensors.qcom.
Update init.qcom.sensors.sh script to start daemon from
vendor/bin.
Remove unused options from init.qcom.sensors.sh.

Change-Id: I224d35c7e2a5037ab71764338d1f347aa80f2c4d
This commit is contained in:
Ananda Kishore 2017-04-14 00:15:25 +05:30 committed by Gerrit - the friendly Code Review server
parent 4abe043ef7
commit 740f55adf3
2 changed files with 1 additions and 5 deletions

View File

@ -655,7 +655,7 @@ service qti /system/vendor/bin/qti
group radio net_raw diag usb net_admin
disabled
service sensors /system/bin/sensors.qcom
service sensors /vendor/bin/sensors.qcom
class core
user root
group root

View File

@ -35,10 +35,6 @@ start_sensors()
chmod -h 775 /persist/sensors
chmod -h 664 /persist/sensors/sensors_settings
chown -h system.root /persist/sensors/sensors_settings
mkdir -p /data/misc/sensors
chmod -h 775 /data/misc/sensors
start sensors
fi
}