diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-07-07 07:21:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-07-07 07:21:04 +0000 |
commit | 3dacb4c999fe9423d8b2300186139374868f042e (patch) | |
tree | 34e5ee56db432bbdfd5f884b89862b4000b3bb44 /perl-install/modules.pm | |
parent | 89e2c0f66b7aac23562cac0c22a3b71f388fe568 (diff) | |
download | drakx-3dacb4c999fe9423d8b2300186139374868f042e.tar drakx-3dacb4c999fe9423d8b2300186139374868f042e.tar.gz drakx-3dacb4c999fe9423d8b2300186139374868f042e.tar.bz2 drakx-3dacb4c999fe9423d8b2300186139374868f042e.tar.xz drakx-3dacb4c999fe9423d8b2300186139374868f042e.zip |
modules::mergein_conf() doesn't need to be given /etc/modules.conf
=> prepare for reading either modprobe.conf or modules.conf based on the running kernel version
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index d7216cfd1..fccd3b24e 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -281,7 +281,7 @@ sub mergein_conf_raw { push @{$conf{$key}{probeall} ||= []}, deref($value->{probeall}); } } -sub mergein_conf { +sub mergein_conf() { my $file = "$::prefix/etc/modules.conf"; mergein_conf_raw($file) if -r $file; } |