Revert "davinci: rootdir: Drop led permissions from ueventd"

This reverts commit 688407d50e.

Change-Id: I30ee38523f5ab05e8ca6101522062fdd99e91280
This commit is contained in:
Arian 2021-02-14 13:30:20 +01:00
parent 4d4f9e343b
commit 264c3a5ca8
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9
2 changed files with 11 additions and 4 deletions

View File

@ -1,15 +1,11 @@
on boot on boot
chown system system /sys/class/leds/left/brightness chown system system /sys/class/leds/left/brightness
chown system system /sys/class/leds/left/breath chown system system /sys/class/leds/left/breath
chown system system /sys/class/leds/right/brightness
chown system system /sys/class/leds/right/breath
chown system system /sys/class/leds/white/brightness chown system system /sys/class/leds/white/brightness
chown system system /sys/class/leds/white/breath chown system system /sys/class/leds/white/breath
chmod 0644 /sys/class/leds/left/brightness chmod 0644 /sys/class/leds/left/brightness
chmod 0644 /sys/class/leds/left/breath chmod 0644 /sys/class/leds/left/breath
chmod 0644 /sys/class/leds/right/brightness
chmod 0644 /sys/class/leds/right/breath
chmod 0644 /sys/class/leds/white/brightness chmod 0644 /sys/class/leds/white/brightness
chmod 0644 /sys/class/leds/white/breath chmod 0644 /sys/class/leds/white/breath

View File

@ -121,6 +121,17 @@ firmware_directories /vendor/firmware_mnt/image/
# Kmsg device # Kmsg device
/dev/kmsg 0620 root system /dev/kmsg 0620 root system
# LED class devices
/sys/class/leds/red delay_on 0640 system system
/sys/class/leds/red delay_off 0640 system system
/sys/class/leds/red breath 0640 system system
/sys/class/leds/green delay_on 0640 system system
/sys/class/leds/green delay_off 0640 system system
/sys/class/leds/green breath 0640 system system
/sys/class/leds/blue delay_on 0640 system system
/sys/class/leds/blue delay_off 0640 system system
/sys/class/leds/blue breath 0640 system system
# NPU device # NPU device
/dev/msm_npu 0644 system system /dev/msm_npu 0644 system system