From f74c3b0afadaa40c9a784321029959a7fffdd0e6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 24 Mar 2000 14:29:56 +0000 Subject: no_comment --- perl-install/install2.pm | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'perl-install/install2.pm') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 07095f8b7..8fa163367 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -233,6 +233,14 @@ sub selectMouse { addToBeDone { mouse::write($o->{prefix}, $o->{mouse}) } 'doInstallStep'; } +#------------------------------------------------------------------------------ +sub setupSCSI { + my ($clicked) = $_[0]; + $o->{autoSCSI} ||= $::beginner; + + $o->setupSCSI($o->{autoSCSI} && !$clicked, $clicked); +} + #------------------------------------------------------------------------------ sub selectKeyboard { my ($clicked) = $_[0]; @@ -268,14 +276,6 @@ sub selectInstallClass { } } -#------------------------------------------------------------------------------ -sub setupSCSI { - my ($clicked) = $_[0]; - $o->{autoSCSI} ||= $::beginner; - - $o->setupSCSI($o->{autoSCSI} && !$clicked, $clicked); -} - #------------------------------------------------------------------------------ sub partitionDisks { return @@ -572,7 +572,8 @@ sub main { if ($::auto_install) { require install_steps_auto_install; - eval { $o = $::o = install_any::loadO($o, "floppy") }; + eval { $o = $::o = install_any::loadO($o, "Mandrake/auto_inst.cfg.pl") }; + eval { $o = $::o = install_any::loadO($o, "floppy") } if $@; if ($@) { log::l("error using auto_install, continuing"); undef $::auto_install; @@ -628,7 +629,7 @@ sub main { modules::read_stage1_conf("/tmp/conf.modules"); modules::read_already_loaded(); - modules::load_multi(qw(ide-probe ide-disk ide-cd sd_mod af_packet)); + modules::load("af_packet"); install_any::lnx4win_preinstall() if $o->{lnx4win}; #-the main cycle -- cgit v1.2.1