summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-09-23 19:34:58 +0000
committerOlivier Blin <oblin@mandriva.com>2008-09-23 19:34:58 +0000
commit23b49f87a283e308be0d46999485c46678fe88d2 (patch)
tree8e17fe47340f7e96bd31d49a9b867171b3dd1b93 /perl-install/harddrake
parent57e5d89f26a620e7fd2dd96ce723197157417c7f (diff)
downloaddrakx-23b49f87a283e308be0d46999485c46678fe88d2.tar
drakx-23b49f87a283e308be0d46999485c46678fe88d2.tar.gz
drakx-23b49f87a283e308be0d46999485c46678fe88d2.tar.bz2
drakx-23b49f87a283e308be0d46999485c46678fe88d2.tar.xz
drakx-23b49f87a283e308be0d46999485c46678fe88d2.zip
harddrake: auto-configure floppies
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/autoconf.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/harddrake/autoconf.pm b/perl-install/harddrake/autoconf.pm
index 4f234010d..0f7eb33c3 100644
--- a/perl-install/harddrake/autoconf.pm
+++ b/perl-install/harddrake/autoconf.pm
@@ -83,6 +83,11 @@ sub cpufreq() {
modules::set_preload_modules("cpufreq", cpufreq::get_modules());
}
+sub floppy() {
+ require detect_devices;
+ modules::set_preload_modules("floppy", if_(detect_devices::floppy(), "floppy"));
+}
+
sub fix_aliases {
my ($modules_conf) = @_;
require modalias;