diff options
author | Max Weffers <rcstar6696@gmail.com> | 2017-11-17 15:41:20 +0100 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2019-10-07 11:11:29 +0200 |
commit | 59f1f2364fd7292fbb44a05ae65920a0043cf407 (patch) | |
tree | 7d4372ca1372e7f61eb8388691fb96fe7128f7d9 /rootdir | |
parent | 7e27c70f1f274c979349aadfcc1467b49b73db18 (diff) |
shinano: fix led light permissions
Change-Id: Iab7abd2d5e43ce4cd855f8612cb7b2ebbe6b762a
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.qcom.rc | 19 |
1 files changed, 19 insertions, 0 deletions
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 |