configs/roles/config/files/etc/udev/rules.d/90-backlight.rules

4 lines
164 B
Plaintext
Raw Normal View History

SUBSYSTEM=="backlight", ACTION=="add", \
RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness", \
RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"