1 # Niklas Schmuecker (IRC: nisc) <nschmuecker (gmail)>
4 if [ ! `egrep '^brightd:' /etc/group` ]; then
5 echo 'Adding brightd group'
8 if [ ! `egrep '^brightd:' /etc/passwd` ]; then
9 echo 'Adding brightd user'
10 useradd -d / -g brightd -s /bin/false brightd
14 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15 + Please read /usr/share/doc/brightd/* +
17 + rc-script: /etc/rc.d/brightd +
18 + config: /etc/conf.d/brightd +
21 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
30 # re-setting permissions
31 chgrp root /sys/class/backlight/*/brightness
32 chmod g-w /sys/class/backlight/*/brightness
33 chgrp root /dev/input/event*
36 ++++++++++++++++++++++++++++++++++++++++++++++++++++
37 + Please remember to clean up changes you may have +
38 + made to your system. Have a nice day. +
39 ++++++++++++++++++++++++++++++++++++++++++++++++++++