summaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/etc/init.qcom.rc')
-rwxr-xr-xrootdir/etc/init.qcom.rc14
1 files changed, 8 insertions, 6 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 21d2e5f..4524cac 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -349,6 +349,14 @@ on post-fs-data
mkdir /data/fota 0771
chown system system /data/fota
+ # SSC/SLPI sensors
+ mkdir /persist/sensors 0775 sensors sensors
+ write /persist/sensors/sensors_settings 1
+ chown system root /persist/sensors/sensors_settings
+ chmod 0664 /persist/sensors/sensors_settings
+ chown system system /persist/PRSensorData.txt
+ chmod 0600 /persist/PRSensorData.txt
+
#Create directory for hostapd
mkdir /data/hostapd 0770 system wifi
@@ -678,7 +686,6 @@ service sensors /vendor/bin/sensors.qcom
class core
user root
group root
- disabled
on property:ro.use_data_netmgrd=false
# netmgr not supported on specific target
@@ -924,11 +931,6 @@ service qcom-sh /vendor/bin/init.qcom.sh
user root
oneshot
-service sensor-sh /vendor/bin/init.qcom.sensors.sh
- class core
- user root
- oneshot
-
service crashdata-sh /vendor/bin/init.qcom.crashdata.sh
class late_start
user root