mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +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:
1 parent
b1281bf669
commit
1864d90513
1 file changed
+2
@@ -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';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user