summaryrefslogtreecommitdiff
path: root/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2020-01-08 21:26:01 +0100
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:54 +0300
commit8f8b3438983aff15c264397267ab23628b677ca1 (patch)
tree7d2da5070835cd8eeb915bef452e4c8104ac15be /light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
parent2e418356c74de059bdeb29206b6e4832f5cfdb6a (diff)
sdm660-common: light: Add missing chmods
Change-Id: Ib45e537c795b9ce6651c361b68f80ee28a616cad
Diffstat (limited to 'light/android.hardware.light@2.0-service.xiaomi_sdm660.rc')
-rw-r--r--light/android.hardware.light@2.0-service.xiaomi_sdm660.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc b/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
index ba0f41a..2d2f47c 100644
--- a/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
+++ b/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
@@ -8,6 +8,8 @@ on boot
chown system system /sys/class/leds/red/ramp_step_ms
chown system system /sys/class/leds/red/start_idx
+ chmod 660 /sys/class/leds/red/blink
+ chmod 660 /sys/class/leds/red/brightness
chmod 660 /sys/class/leds/red/duty_pcts
chmod 660 /sys/class/leds/red/pause_hi
chmod 660 /sys/class/leds/red/pause_lo