summaryrefslogtreecommitdiff
path: root/user/acpilight/acpilight.post-install
diff options
context:
space:
mode:
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."