summaryrefslogtreecommitdiff
path: root/user/acpilight/rules-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/acpilight/rules-warning.patch')
-rw-r--r--user/acpilight/rules-warning.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/user/acpilight/rules-warning.patch b/user/acpilight/rules-warning.patch
index 45c7abacb..749bf8ac8 100644
--- a/user/acpilight/rules-warning.patch
+++ b/user/acpilight/rules-warning.patch
@@ -1,8 +1,8 @@
---- acpilight-1.0/90-backlight.rules 2017-02-23 21:03:30.000000000 +0000
-+++ acpilight-1.0/90-backlight.rules 2018-01-13 09:14:11.290000000 +0000
+--- acpilight-v1.1/90-backlight.rules 2018-06-21 14:09:44.000000000 +0000
++++ acpilight-v1.1/90-backlight.rules 2018-09-04 00:12:34.839762243 +0000
@@ -1,4 +1,5 @@
# Allow video group to control backlight and leds
+# do not edit this file, it will be overwritten on update
SUBSYSTEM=="backlight", ACTION=="add", \
- RUN+="/bin/chgrp video %S%p/brightness", \
- RUN+="/bin/chmod g+w %S%p/brightness"
+ RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness", \
+ RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"