sysconf generation
I noticed a problem with the way the sensors-detect script is generating the /etc/sysconfig/lm_sensors file. Its numbering modules like MODULE_1 MODULE_2 MODULE_3 ..., when /prog/init/lm_sensors.init is expecting the file to start counting at MODULE_0 and go to MODULE_($modules - 1). The result is that the last module isn't loaded and the modprobe is run without any arguments before the first module is loaded.
This patch on sensors-detect ought to do the trick:
3038c3038
< my $i = 1;
---
Quoted 1 line
my $i = 0;
Please CC any replies to me as I am not on this list.
cya
.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20020829/f7512595/attachment.bin
Quoted 10 lines
I noticed a problem with the way the sensors-detect script is generating the
/etc/sysconfig/lm_sensorsfile. Its numbering modules likeMODULE_1MODULE_2MODULE_3..., when /prog/init/lm_sensors.init is expecting the file to start counting atMODULE_0and go toMODULE_($modules - 1). The result is that the last module isn't loaded and the modprobe is run without any arguments before the first module is loaded.This patch on sensors-detect ought to do the trick:
This had already been reported and is fixed is the CVS version since August 18th, 2002. Thanks anyway!
Signature · 2 lines
Jean "Khali" Delvare http://www.ensicaen.ismra.fr/~delvare/