From 59f1f2364fd7292fbb44a05ae65920a0043cf407 Mon Sep 17 00:00:00 2001 From: Max Weffers Date: Fri, 17 Nov 2017 15:41:20 +0100 Subject: shinano: fix led light permissions Change-Id: Iab7abd2d5e43ce4cd855f8612cb7b2ebbe6b762a --- rootdir/init.qcom.rc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'rootdir') diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 9d020d6..75349ee 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -297,6 +297,25 @@ on post-fs-data mkdir /data/misc/bluetooth 0770 bluetooth bluetooth + # led RGB + chown system system /sys/class/leds/rgb/sync_state + chown system system /sys/class/leds/rgb/start_blink + chown system system /sys/class/leds/led:rgb_red/brightness + chown system system /sys/class/leds/led:rgb_red/lut_pwm + chown system system /sys/class/leds/led:rgb_red/step_duration + chown system system /sys/class/leds/led:rgb_red/pause_lo_multi + chown system system /sys/class/leds/led:rgb_red/pause_hi_multi + chown system system /sys/class/leds/led:rgb_green/brightness + chown system system /sys/class/leds/led:rgb_green/lut_pwm + chown system system /sys/class/leds/led:rgb_green/step_duration + chown system system /sys/class/leds/led:rgb_green/pause_lo_multi + chown system system /sys/class/leds/led:rgb_green/pause_hi_multi + chown system system /sys/class/leds/led:rgb_blue/brightness + chown system system /sys/class/leds/led:rgb_blue/lut_pwm + chown system system /sys/class/leds/led:rgb_blue/step_duration + chown system system /sys/class/leds/led:rgb_blue/pause_lo_multi + chown system system /sys/class/leds/led:rgb_blue/pause_hi_multi + mkdir /data/tombstones 0755 system system mkdir /data/tombstones/vendor 0755 system system mkdir /data/pc 0700 radio radio -- cgit v1.2.3