2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

also recognise /etc/modprobe.conf (Fedora patch)

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4567 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Hans de Goede
2007-07-06 19:14:18 +00:00
parent b1281bf669
commit 1864d90513

View File

@@ -2168,6 +2168,8 @@ sub initialize_conf
$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';
}