summaryrefslogtreecommitdiffstats
path: root/perl-install/modules/modules_conf.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-07 07:07:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-07 07:07:52 +0000
commitce0a1b887671ac54480bb133b4fb5ae23c333de7 (patch)
treec0e53aadce821aa211e5560c2a19a2aa00b66b93 /perl-install/modules/modules_conf.pm
parent71707fee88533f6bc9e97028c1b0497a69801d26 (diff)
downloaddrakx-backup-do-not-use-ce0a1b887671ac54480bb133b4fb5ae23c333de7.tar
drakx-backup-do-not-use-ce0a1b887671ac54480bb133b4fb5ae23c333de7.tar.gz
drakx-backup-do-not-use-ce0a1b887671ac54480bb133b4fb5ae23c333de7.tar.bz2
drakx-backup-do-not-use-ce0a1b887671ac54480bb133b4fb5ae23c333de7.tar.xz
drakx-backup-do-not-use-ce0a1b887671ac54480bb133b4fb5ae23c333de7.zip
when installing on kernel 2.4, do generate a valid modprobe.conf anyway
Diffstat (limited to 'perl-install/modules/modules_conf.pm')
-rw-r--r--perl-install/modules/modules_conf.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/modules/modules_conf.pm b/perl-install/modules/modules_conf.pm
index ed310c2d4..afcf08b35 100644
--- a/perl-install/modules/modules_conf.pm
+++ b/perl-install/modules/modules_conf.pm
@@ -60,6 +60,11 @@ sub write {
};
modules::any_conf::write($conf, $file);
+
+ if ($::isInstall) {
+ require modules::modprobe_conf;
+ modules::modprobe_conf::create_from_old();
+ }
}
1;