Changeset 4379

Show
Ignore:
Timestamp:
04/27/07 14:34:17 (8 years ago)
Author:
khali
Message:

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

sensors-detect.

* Fix several occurences of the configuration file name.

Location:
lm-sensors/branches/lm-sensors-3.0.0
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/CHANGES

    r4375 r4379  
    44SVN HEAD 
    55  File sensors.conf.eg: Add a dme1737 section 
     6  File lm_sensors.sysconfig: Delete, now generated by sensors-detect 
    67  Library: Clean up pwm symbol names translation 
    78           Add dme1737 support 
  • lm-sensors/branches/lm-sensors-3.0.0/prog/init/README

    r2042 r4379  
    1313The lm_sensors.init file should be copied to /etc/rc.d/init.d/lm_sensors. 
    1414For more information see the top of the file. 
    15 It requires the /etc/sysconfig/sensors file, which identifies 
     15It requires the /etc/sysconfig/lm_sensors file, which identifies 
    1616the correct modules. 
    1717 
    18 The /etc/sysconfig/lm_sensors file is only a list of modules, 
    19 as would be determined by running sensors-detect. 
    20 The lm_sensors.sysconfig file contains the MODULE_# variable definitions; 
    21 it should be modified for your setup and then 
    22 copied to /etc/sysconfig/lm_sensors. 
     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. 
    2322 
    2423SuSE users will want to use lm_sensors.init.suse instead, which is 
  • lm-sensors/branches/lm-sensors-3.0.0/prog/init/lm_sensors.init

    r4157 r4379  
    33# chkconfig: 2345 26 74 
    44# description: sensors is used for monitoring motherboard sensor values. 
    5 # config: /etc/sysconfig/sensors 
     5# config: /etc/sysconfig/lm_sensors 
    66# 
    77#    This program is free software; you can redistribute it and/or modify 
     
    2222#     http://www.lm-sensors.org 
    2323 
    24 # It uses a config file /etc/sysconfig/sensors that contains the modules to 
    25 # be loaded/unloaded. That file is sourced into this one. 
     24# It uses a config file /etc/sysconfig/lm_sensors that contains the modules 
     25# to be loaded/unloaded. That file is sourced into this one. 
    2626 
    2727# The format of that file a shell script that simply defines the modules  
  • lm-sensors/branches/lm-sensors-3.0.0/prog/init/lm_sensors.init.suse

    r4157 r4379  
    1414# chkconfig: 2345 26 74 
    1515# description: sensors is used for monitoring motherboard sensor values. 
    16 # config: /etc/sysconfig/sensors 
     16# config: /etc/sysconfig/lm_sensors 
    1717# 
    1818#    This program is free software; you can redistribute it and/or modify 
     
    3333#     http://www.lm-sensors.org 
    3434 
    35 # It uses a config file /etc/sysconfig/sensors that contains the modules to 
    36 # be loaded/unloaded. That file is sourced into this one. 
     35# It uses a config file /etc/sysconfig/lm_sensors that contains the modules 
     36# to be loaded/unloaded. That file is sourced into this one. 
    3737 
    3838# The format of that file a shell script that simply defines the modules  
  • lm-sensors/branches/lm-sensors-3.0.0/prog/init/lm_sensors.sysconfig

    r4157 r4379  
    1 # This is /etc/sysconfig/lm_sensors. 
    2 # 
    3 # sensors is used for monitoring motherboard sensor values. 
    4 # 
    5 # See also the lm_sensors homepage at: 
    6 #     http://www.lm-sensors.org 
    7 # 
    8 # This file is used by /etc/rc.d/init.d/lm_sensors and defines the modules to be  
    9 # loaded/unloaded. This file is sourced into /etc/rc.d/init.d/lm_sensors. 
    10  
    11 # The format of this file is a shell script that simply defines the modules  
    12 # in order as normal variables with the special names:  
    13 #    MODULE_1, MODULE_2, MODULE_3, etc. 
    14  
    15 # 
    16 # List the modules that are to be loaded for your system 
    17 # Adapted from results of running /usr/sbin/sensors-detect 
    18 # 
    19 # Mine said (I have an ASUS K7M motherboard): 
    20 # 
    21 # #----cut here---- 
    22 # # I2C adapter drivers 
    23 # modprobe i2c-matroxfb 
    24 # # modprobe unknown adapter MAVEN:fb0 on i2c-matroxfb using Bit-shift algorithm 
    25 # # modprobe unknown adapter MAVEN:fb0 on i2c-matroxfb using Bit-shift algorithm 
    26 # modprobe i2c-isa 
    27 # # I2C chip drivers 
    28 # modprobe ddcmon 
    29 # modprobe w83781d 
    30 # modprobe via686a 
    31 # #----cut here---- 
    32 # 
    33 # Here is my module list 
    34 MODULE_0=i2c-matroxfb 
    35 MODULE_1=i2c-isa 
    36 MODULE_2=ddcmon 
    37 MODULE_3=w83781d 
    38 MODULE_4=via686a