blob: 0e64cf7251a1ff4bf4b7903ca5f1d8b50c3f5a5f (
plain) (
tree)
|
|
#!/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
echo "*"
echo "* Any user wishing to use xbacklight must be in the 'video' group."
echo "* Check using 'groups \$USER' and add using 'usermod -aG video \$USER'."
echo "*"
exit 0
|