Add backlight udev rule
This commit is contained in:
parent
06307d570d
commit
c1fca4513c
3
arch-config/etc/udev/rules.d/90-backlight.rules
Normal file
3
arch-config/etc/udev/rules.d/90-backlight.rules
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SUBSYSTEM=="backlight", ACTION=="add", \
|
||||||
|
RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness", \
|
||||||
|
RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
|
Loading…
Reference in New Issue
Block a user