From 3017f055dcac9fcde58d6c03a8f43363a7d0d3a2 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 12 Sep 2001 14:15:23 +0000 Subject: removed obsolete --nocpi flag for install2. avoid probing usb device (for mouse) if --noauto is given. --- perl-install/install2.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 3ea701720..c0c929a6f 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -368,7 +368,6 @@ sub main { live => sub { $::live = 1 }, noauto => sub { $::noauto = 1 }, test => sub { $::testing = 1 }, - nopci => sub { $::nopci = 1 }, patch => sub { $patch = 1 }, defcfg => sub { $cfg = $v }, newt => sub { $o->{interactive} = "newt" }, @@ -466,7 +465,7 @@ sub main { } modules::get_that_type('sound'); #- needed very early for install_steps_gtk - modules::load_thiskind("usb"); + $::noauto or modules::load_thiskind("usb"); eval { ($o->{mouse}, @{$o->{wacom} = []}) = mouse::detect() } unless $o->{nomouseprobe} || $o->{mouse}; lang::set($o->{lang}); #- mainly for defcfg -- cgit v1.2.1