root/lm-sensors/trunk/prog/init/README

Revision 5756, 1.3 KB (checked in by khali, 3 years ago)

sensord has a manual page now. Patch from openSUSE.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1This directory contains files useful for initialization
2scripts, especially for RedHat.
3
4There are two choices, lm_sensors.init and sensord.init.
5Use one or the other but not both!
6
7----------------
8
9The script lm_sensors.init is a nice startup/shutdown script.
10On RH and other RH-based systems (MDK, notably) use this sort of startup
11mechanism (i.e. SVR4-based), as opposed to the everything-in-one-script
12(/etc/rc or /etc/rc.local) like the BSD-based systems do.
13The lm_sensors.init file should be copied to /etc/rc.d/init.d/lm_sensors.
14For more information see the top of the file.
15It requires the /etc/sysconfig/lm_sensors file, which identifies
16the correct modules.
17
18The /etc/sysconfig/lm_sensors file is generated by running sensors-detect.
19Once the script is done detecting the hardware monitoring devices, it will
20list all the required modules in that file, so that they can be loaded
21automatically at boot time.
22
23----------------
24
25The script sensord.init also loads the modules, and then
26starts the sensord daemon. See the manual page sensord(8) for
27more information on the daemon.
28
29The sensord.init file should be copied to /etc/rc.d/init.d/sensord.
30For more information see the top of the file.
31
32To configure this service one should put appropriate "alias i2c-bus-0 xxx"
33and "alias i2c-sensors-chip-0 xxx" in /etc/modules.conf.
Note: See TracBrowser for help on using the browser.