diff options
author | Fedor917 <cryscript@gmail.com> | 2017-07-15 17:34:02 +0700 |
---|---|---|
committer | dd3boh <dade.garberi@gmail.com> | 2017-08-02 12:02:57 +0200 |
commit | c3a2a569be18ce87f4fb5b4a089aa9499d66ed24 (patch) | |
tree | 0ec597b7c52f15254a54f02a32736c77213af68c | |
parent | bbdf431212399077f6eb1c1921dbaa5d4e29a215 (diff) |
Set rights and owners for new attributes of led
Signed-off-by: dd3boh <dade.garberi@gmail.com>
-rwxr-xr-x | rootdir/etc/init.qcom.rc | 54 |
1 files changed, 48 insertions, 6 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 17d0715..9fda9e8 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -164,12 +164,54 @@ on boot chown system system /sys/class/leds/led:rgb_blue/brightness chmod 0660 /sys/class/leds/led:rgb_blue/brightness - chown system system /sys/class/leds/led:rgb_blue/rgbbreath - chmod 0660 /sys/class/leds/led:rgb_blue/rgbbreath - chown system system /sys/class/leds/led:rgb_red/rgbbreath - chmod 0660 /sys/class/leds/led:rgb_red/rgbbreath - chown system system /sys/class/leds/led:rgb_green/rgbbreath - chmod 0660 /sys/class/leds/led:rgb_green/rgbbreath + chown system system /sys/class/leds/led:rgb_blue/blink + chmod 0660 /sys/class/leds/led:rgb_blue/blink + chown system system /sys/class/leds/led:rgb_red/blink + chmod 0660 /sys/class/leds/led:rgb_red/blink + chown system system /sys/class/leds/led:rgb_green/blink + chmod 0660 /sys/class/leds/led:rgb_green/blink + + chown system system /sys/class/leds/led:rgb_blue/ramp_step_ms + chmod 0660 /sys/class/leds/led:rgb_blue/ramp_step_ms + chown system system /sys/class/leds/led:rgb_red/ramp_step_ms + chmod 0660 /sys/class/leds/led:rgb_red/ramp_step_ms + chown system system /sys/class/leds/led:rgb_green/ramp_step_ms + chmod 0660 /sys/class/leds/led:rgb_green/ramp_step_ms + + chown system system /sys/class/leds/led:rgb_blue/pause_hi + chmod 0660 /sys/class/leds/led:rgb_blue/pause_hi + chown system system /sys/class/leds/led:rgb_red/pause_hi + chmod 0660 /sys/class/leds/led:rgb_red/pause_hi + chown system system /sys/class/leds/led:rgb_green/pause_hi + chmod 0660 /sys/class/leds/led:rgb_green/pause_hi + + chown system system /sys/class/leds/led:rgb_blue/pause_lo + chmod 0660 /sys/class/leds/led:rgb_blue/pause_lo + chown system system /sys/class/leds/led:rgb_red/pause_lo + chmod 0660 /sys/class/leds/led:rgb_red/pause_lo + chown system system /sys/class/leds/led:rgb_green/pause_lo + chmod 0660 /sys/class/leds/led:rgb_green/pause_lo + + chown system system /sys/class/leds/led:rgb_blue/duty_pcts + chmod 0660 /sys/class/leds/led:rgb_blue/duty_pcts + chown system system /sys/class/leds/led:rgb_red/duty_pcts + chmod 0660 /sys/class/leds/led:rgb_red/duty_pcts + chown system system /sys/class/leds/led:rgb_green/duty_pcts + chmod 0660 /sys/class/leds/led:rgb_green/duty_pcts + + chown system system /sys/class/leds/led:rgb_blue/start_idx + chmod 0660 /sys/class/leds/led:rgb_blue/start_idx + chown system system /sys/class/leds/led:rgb_red/start_idx + chmod 0660 /sys/class/leds/led:rgb_red/start_idx + chown system system /sys/class/leds/led:rgb_green/start_idx + chmod 0660 /sys/class/leds/led:rgb_green/start_idx + + chown system system /sys/class/leds/led:rgb_blue/lut_flags + chmod 0660 /sys/class/leds/led:rgb_blue/lut_flags + chown system system /sys/class/leds/led:rgb_red/lut_flags + chmod 0660 /sys/class/leds/led:rgb_red/lut_flags + chown system system /sys/class/leds/led:rgb_green/lut_flags + chmod 0660 /sys/class/leds/led:rgb_green/lut_flags chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power chown bluetooth net_bt /sys/class/rfkill/rfkill0/type |