lm_sensors/lm_sensors-2.10.0-kernel26.patch

12 lines
474 B
Diff
Raw Normal View History

--- 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';
}