NeoXP Posted April 23, 2004 Report Share Posted April 23, 2004 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 I've searching and I can't remember please excuse my very dumb question, but my memory is blocked Quote Link to comment Share on other sites More sharing options...
william Posted April 23, 2004 Report Share Posted April 23, 2004 If I'm not wrong, here: etc/rc.d/rc.local Quote Link to comment Share on other sites More sharing options...
WilliamS Posted April 24, 2004 Report Share Posted April 24, 2004 IIRC when you do sensors-detect, the last question asked is if you want to install some prog, yes/no, and after typking y I've found the right lines in /etc/rc.d/init.d - the other section has to be pasted somewhere, but no problem. Quote Link to comment Share on other sites More sharing options...
Kjel Oslund Posted April 25, 2004 Report Share Posted April 25, 2004 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 Quote Link to comment Share on other sites More sharing options...
NeoXP Posted April 25, 2004 Author Report Share Posted April 25, 2004 thxs, you all. By the way when I do sensors-detect nothing works and my system locks at boot-tiime. Somehow it does not detect that my bus is an Isa chip. Quote Link to comment Share on other sites More sharing options...
Kjel Oslund Posted April 26, 2004 Report Share Posted April 26, 2004 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.