summaryrefslogtreecommitdiff
path: root/user/acpilight/rules-warning.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-09-03 20:28:23 -0400
committerMax Rees <maxcrees@me.com>2018-09-03 20:28:23 -0400
commitba5e579183ed74b8b3fb1f25d72af5693e833a60 (patch)
treeed3737a290c278406ad47ff615f46237e6684671 /user/acpilight/rules-warning.patch
parent859e0988612b06174e8389369df1c7de8f7a65b3 (diff)
downloadpackages-ba5e579183ed74b8b3fb1f25d72af5693e833a60.tar.gz
packages-ba5e579183ed74b8b3fb1f25d72af5693e833a60.tar.bz2
packages-ba5e579183ed74b8b3fb1f25d72af5693e833a60.tar.xz
packages-ba5e579183ed74b8b3fb1f25d72af5693e833a60.zip
user/acpilight: fix license, change URL, upgrade to 1.1
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"