diff options
Diffstat (limited to 'rootdir/bin')
-rw-r--r-- | rootdir/bin/init.qcom-sensor.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/rootdir/bin/init.qcom-sensor.sh b/rootdir/bin/init.qcom-sensor.sh deleted file mode 100644 index 21d24c7..0000000 --- a/rootdir/bin/init.qcom-sensor.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/system/bin/sh -# Copyright (C) 2013 Sony Mobile Communications AB. - -# -# Function to start sensors for DSPS enabled platforms -# -start_sensors() -{ - if [ -c /dev/msm_dsps -o -c /dev/sensors ]; then - 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 - - echo 1 > /persist/sensors/settings - start sensors - fi -} - -start_sensors - |