From 26a387d5919bba9ccdb8a8447daa114204a997c4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 5 Mar 2000 22:43:46 +0000 Subject: no_comment --- perl-install/modules.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'perl-install/modules.pm') diff --git a/perl-install/modules.pm b/perl-install/modules.pm index d66b3172b..2727706e5 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -471,10 +471,10 @@ sub write_conf { my %net = detect_devices::net2module(); while (my ($k, $v) = each %net) { add_alias($k, $v) } - if (my @scsis = sort grep { $conf{$_}{alias} && /scsi_hostadapter/ } keys %conf) { - log::l("has scsis ", join " ; ", map { "modprobe $_" } @scsis); - $conf{supermount}{"post-install"} = join " ; ", map { "modprobe $_" } @scsis; - } + my @l = sort grep { $conf{$_}{alias} && /scsi_hostadapter/ } keys %conf; + add_alias('block-major-11', 'scsi_hostadapter'); + push @l, "ide-floppy" if detect_devices::zips(); + $conf{supermount}{"post-install"} = join " ; ", map { "modprobe $_" } @l if @l; local *F; open F, ">> $file" or die("cannot write module config file $file: $!\n"); -- cgit v1.2.1