OpenRC 0.8.0 and later in Gentoo and Sabayon Linux no longer use the file /etc/conf.d/local but instead require the commands to be put in files in the directory /etc/local.d/. So you need to create a file in the directory /etc/local.d/ which has the suffix ".start". For example you could chose a file name such as /etc/local.d/01brightness.start and put in it the following lines:
- Code: Select all
# Automatically adjust the brightness of my video card
<put here the command that you need to use to change the brightness>
and make the file executable:
- Code: Select all
chmod +x /etc/local.d/01brightness.start
The editing of the file, and the above command to make it executable, should of course be done by the root user.