summaryrefslogtreecommitdiff
path: root/user/acpilight/acpilight.post-install
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/acpilight.post-install
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/acpilight.post-install')
-rw-r--r--user/acpilight/acpilight.post-install5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/acpilight/acpilight.post-install b/user/acpilight/acpilight.post-install
index 0e64cf725..958c8dbd3 100644
--- a/user/acpilight/acpilight.post-install
+++ b/user/acpilight/acpilight.post-install
@@ -1,8 +1,5 @@
#!/bin/sh
-chgrp video /sys/class/backlight/*/brightness || true
-chmod g+w /sys/class/backlight/*/brightness || true
-chgrp video /sys/class/leds/*/brightness || true
-chmod g+w /sys/class/leds/*/brightness || true
+udevadm trigger -s backlight -c add
echo "*"
echo "* Any user wishing to use xbacklight must be in the 'video' group."