lm_sensors/lm_sensors-2.10.0-kernel26.patch
Hans de Goede 19d6c59990 - Remove no longer needed patches 1, 2 & 6
- Various specfile cleanups to match the Fedora packaging guidelines this
    fixes bz 238787 amongst other things
- Use lm_sensors provided initscript instead of our own private one, this
    stops the sometimes unnecessary loading of i2c-dev
- No longer ship a static version of the library in -devel
- Compile sensord and eepromer extra programs and put each in its own
    subpackage (bz 236904)
2007-07-10 20:58:05 +00:00

12 lines
474 B
Diff

--- lm_sensors-2.10.0/prog/detect/sensors-detect.kernel26 2006-05-12 15:24:05.000000000 +0200
+++ lm_sensors-2.10.0/prog/detect/sensors-detect 2006-05-12 15:24:05.000000000 +0200
@@ -2034,6 +2034,8 @@
$modules_conf = '/etc/modules.conf';
} elsif (-f '/etc/conf.modules') {
$modules_conf = '/etc/conf.modules';
+ } elsif (-f '/etc/modprobe.conf') {
+ $modules_conf = '/etc/modprobe.conf';
} else { # default
$modules_conf = '/etc/modules.conf';
}