summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-09-15 22:39:08 (GMT)
committerRob Herring <robh@kernel.org>2016-09-16 12:02:10 (GMT)
commit8e9c0e6dfdc39b171e15f100cd6c66b22ce436a9 (patch)
tree98dedce3009e54811b1629e8e18d3087f6460162
parent3363a751ac8f4cd5e50d22d606deb5b457ae670e (diff)
downloadandroid-device-linaro-generic-8e9c0e6dfdc39b171e15f100cd6c66b22ce436a9.tar.gz
android-device-linaro-generic-8e9c0e6dfdc39b171e15f100cd6c66b22ce436a9.tar.xz
sensors: fix init level from init to boot
Using 'init' only works for base init.rc in the ramdisk. For .rc files in the system image, we need to use 'boot'. Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--sensor/sensor.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensor/sensor.rc b/sensor/sensor.rc
index 1093f30..eab6b62 100644
--- a/sensor/sensor.rc
+++ b/sensor/sensor.rc
@@ -1,3 +1,3 @@
-on init
+on boot
setprop ro.hardware.sensors iio
setprop ro.hardware.activity_recognition iio