mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-04 00:05:10 +00:00
init scripts:
* Delete sample lm_sensors.sysconfig file, it is now generated by sensors-detect. * Fix several occurences of the configuration file name. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4379 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -3,6 +3,7 @@ lm_sensors CHANGES file
|
|||||||
|
|
||||||
SVN HEAD
|
SVN HEAD
|
||||||
File sensors.conf.eg: Add a dme1737 section
|
File sensors.conf.eg: Add a dme1737 section
|
||||||
|
File lm_sensors.sysconfig: Delete, now generated by sensors-detect
|
||||||
Library: Clean up pwm symbol names translation
|
Library: Clean up pwm symbol names translation
|
||||||
Add dme1737 support
|
Add dme1737 support
|
||||||
Man page sensors.conf.5: Update the chip statement section
|
Man page sensors.conf.5: Update the chip statement section
|
||||||
|
@@ -12,14 +12,13 @@ mechanism (i.e. SVR4-based), as opposed to the everything-in-one-script
|
|||||||
(/etc/rc or /etc/rc.local) like the BSD-based systems do.
|
(/etc/rc or /etc/rc.local) like the BSD-based systems do.
|
||||||
The lm_sensors.init file should be copied to /etc/rc.d/init.d/lm_sensors.
|
The lm_sensors.init file should be copied to /etc/rc.d/init.d/lm_sensors.
|
||||||
For more information see the top of the file.
|
For more information see the top of the file.
|
||||||
It requires the /etc/sysconfig/sensors file, which identifies
|
It requires the /etc/sysconfig/lm_sensors file, which identifies
|
||||||
the correct modules.
|
the correct modules.
|
||||||
|
|
||||||
The /etc/sysconfig/lm_sensors file is only a list of modules,
|
The /etc/sysconfig/lm_sensors file is generated by running sensors-detect.
|
||||||
as would be determined by running sensors-detect.
|
Once the script is done detecting the hardware monitoring devices, it will
|
||||||
The lm_sensors.sysconfig file contains the MODULE_# variable definitions;
|
list all the required modules in that file, so that they can be loaded
|
||||||
it should be modified for your setup and then
|
automatically at boot time.
|
||||||
copied to /etc/sysconfig/lm_sensors.
|
|
||||||
|
|
||||||
SuSE users will want to use lm_sensors.init.suse instead, which is
|
SuSE users will want to use lm_sensors.init.suse instead, which is
|
||||||
more specifically designed for this distribution. Changes were contributed
|
more specifically designed for this distribution. Changes were contributed
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# chkconfig: 2345 26 74
|
# chkconfig: 2345 26 74
|
||||||
# description: sensors is used for monitoring motherboard sensor values.
|
# description: sensors is used for monitoring motherboard sensor values.
|
||||||
# config: /etc/sysconfig/sensors
|
# config: /etc/sysconfig/lm_sensors
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
# See also the lm_sensors homepage at:
|
# See also the lm_sensors homepage at:
|
||||||
# http://www.lm-sensors.org
|
# http://www.lm-sensors.org
|
||||||
|
|
||||||
# It uses a config file /etc/sysconfig/sensors that contains the modules to
|
# It uses a config file /etc/sysconfig/lm_sensors that contains the modules
|
||||||
# be loaded/unloaded. That file is sourced into this one.
|
# to be loaded/unloaded. That file is sourced into this one.
|
||||||
|
|
||||||
# The format of that file a shell script that simply defines the modules
|
# The format of that file a shell script that simply defines the modules
|
||||||
# in order as normal shell variables with the special names:
|
# in order as normal shell variables with the special names:
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
# chkconfig: 2345 26 74
|
# chkconfig: 2345 26 74
|
||||||
# description: sensors is used for monitoring motherboard sensor values.
|
# description: sensors is used for monitoring motherboard sensor values.
|
||||||
# config: /etc/sysconfig/sensors
|
# config: /etc/sysconfig/lm_sensors
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -32,8 +32,8 @@
|
|||||||
# See also the lm_sensors homepage at:
|
# See also the lm_sensors homepage at:
|
||||||
# http://www.lm-sensors.org
|
# http://www.lm-sensors.org
|
||||||
|
|
||||||
# It uses a config file /etc/sysconfig/sensors that contains the modules to
|
# It uses a config file /etc/sysconfig/lm_sensors that contains the modules
|
||||||
# be loaded/unloaded. That file is sourced into this one.
|
# to be loaded/unloaded. That file is sourced into this one.
|
||||||
|
|
||||||
# The format of that file a shell script that simply defines the modules
|
# The format of that file a shell script that simply defines the modules
|
||||||
# in order as normal shell variables with the special names:
|
# in order as normal shell variables with the special names:
|
||||||
|
@@ -1,38 +0,0 @@
|
|||||||
# This is /etc/sysconfig/lm_sensors.
|
|
||||||
#
|
|
||||||
# sensors is used for monitoring motherboard sensor values.
|
|
||||||
#
|
|
||||||
# See also the lm_sensors homepage at:
|
|
||||||
# http://www.lm-sensors.org
|
|
||||||
#
|
|
||||||
# This file is used by /etc/rc.d/init.d/lm_sensors and defines the modules to be
|
|
||||||
# loaded/unloaded. This file is sourced into /etc/rc.d/init.d/lm_sensors.
|
|
||||||
|
|
||||||
# The format of this file is a shell script that simply defines the modules
|
|
||||||
# in order as normal variables with the special names:
|
|
||||||
# MODULE_1, MODULE_2, MODULE_3, etc.
|
|
||||||
|
|
||||||
#
|
|
||||||
# List the modules that are to be loaded for your system
|
|
||||||
# Adapted from results of running /usr/sbin/sensors-detect
|
|
||||||
#
|
|
||||||
# Mine said (I have an ASUS K7M motherboard):
|
|
||||||
#
|
|
||||||
# #----cut here----
|
|
||||||
# # I2C adapter drivers
|
|
||||||
# modprobe i2c-matroxfb
|
|
||||||
# # modprobe unknown adapter MAVEN:fb0 on i2c-matroxfb using Bit-shift algorithm
|
|
||||||
# # modprobe unknown adapter MAVEN:fb0 on i2c-matroxfb using Bit-shift algorithm
|
|
||||||
# modprobe i2c-isa
|
|
||||||
# # I2C chip drivers
|
|
||||||
# modprobe ddcmon
|
|
||||||
# modprobe w83781d
|
|
||||||
# modprobe via686a
|
|
||||||
# #----cut here----
|
|
||||||
#
|
|
||||||
# Here is my module list
|
|
||||||
MODULE_0=i2c-matroxfb
|
|
||||||
MODULE_1=i2c-isa
|
|
||||||
MODULE_2=ddcmon
|
|
||||||
MODULE_3=w83781d
|
|
||||||
MODULE_4=via686a
|
|
||||||
|
Reference in New Issue
Block a user