summaryrefslogtreecommitdiff
path: root/rootdir/etc
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2016-06-01 15:13:28 +0100
committerTingyiChen <tingyi364@gmail.com>2019-08-13 11:46:59 +0200
commit73fe0127bc9c318e41b98609a2caed09e3b8f88e (patch)
treee728ab53e0a1f2c7caee6dcf2a1186ab2947dcb3 /rootdir/etc
parent5cb349441692445d035cc9151c22315282998850 (diff)
wayne-common: rootdir: Remove sensors init shell script
Change-Id: Ice50a9c83a708d7f8300978048cd00c71e88abc8
Diffstat (limited to 'rootdir/etc')
-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