Jump to content

stupid question....I know


NeoXP
 Share

Recommended Posts

I'm trying to configure lm-sensors on my nForce-box, I know the modules I need, but..............

 

I can't remember which config-file to edit to load the appropiate modules at boot-time :screwy:

 

I've searching and I can't remember :wall: please excuse my very dumb question, but my memory is blocked :cheeky:

Link to comment
Share on other sites

The list of modules should go in /etc/sysconfig/lm_sensors. sensors-detect will generate this file for you if you let it. The file is read by /etc/init.d/lm_sensors.

 

Here's an example from my system (minus the GPL copyright preamble):

# 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_0, MODULE_1, MODULE_2, etc.
#
# List the modules that are to be loaded for your system
#
# Generated by sensors-detect on Tue Apr  6 23:56:32 2004
MODULE_0=i2c-viapro
MODULE_1=i2c-isa
MODULE_2=eeprom
MODULE_3=it87

Link to comment
Share on other sites

I found that my system would lock up in the lm_sensors script when shutting down. The /etc/init.d/lm_sensors script tries to unload the kernel modules and the system hangs during that process. To workaround this, I've commented out that section of the 'stop' portion of the script.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...