Change permissions of led driver

Change-Id: Ia9a8dd8d401d274a37820bdb30727eec8b1f54b3
Signed-off-by: matt_huang <matt_huang@htc.com>
This commit is contained in:
matt_huang
2017-03-10 10:37:38 +08:00
committed by Patrick Tjin
parent f41ff958d8
commit 2f747de0cd

View File

@@ -251,6 +251,14 @@ on boot
# Permission for laser sensor driver
chown camera camera /sys/class/wahoo_laser/laser/enable_ps_sensor
# Permission for LED driver
chown system system /sys/class/leds/red/on_off_ms
chown system system /sys/class/leds/green/on_off_ms
chown system system /sys/class/leds/blue/on_off_ms
chown system system /sys/class/leds/red/rgb_start
chown system system /sys/class/leds/green/rgb_start
chown system system /sys/class/leds/blue/rgb_start
service init-radio-sh /system/bin/init.radio.sh
class late_start
user radio