The LCDproc distribution contains init scripts for RedHat- and Debian-based GNU/Linux distributions. You can find them in the docs/ directory of the LCDproc sources.
The init scripts are generated using autoconf. So, again it is important that you have run ./configure with the correct options for your system. |
Refer to your system's manual on how to install the scripts.
The file scripts/init-LCDd.* is the init script for the LCDproc server LCDd. It does not require modification.
The file scripts/init-lcdproc.* is the init script for the LCDproc "main" client lcdproc. As lcdproc itself does not (yet) have a configuration file you may want to modify the options the init script passes to lcdproc.
You can retrieve a listing of all options of lcdproc running lcdproc --help. |
The lcdproc init script retrieves the options it will pass to lcdproc from the file /etc/lcdproc.conf (scripts/lcdproc.conf in the sources distribution).
Example 4-3. lcdproc.conf: Modify the option passed to lcdproc
# /etc/lcdproc.conf # # Configuration file of the main LCDproc client "lcdproc" # NOTE: The configuration file of LCDd is /etc/LCDd.conf # Set SCREENS to the screens you want lcdproc to send to LCDd # lcdproc --help will give you a list of the screens available SCREENS="C X"
In this example lcdproc will only send information on the CPU usage [C] and system load [X] to the server.