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

Revision 4378, 1.5 kB (checked in by khali, 2 years ago)

init scripts:
* Delete sample lm_sensors.sysconfig file, it is now generated by

sensors-detect.

* Fix several occurences of the configuration file name.

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