From f0d270a5c5835ba61971e7947b19e4d7116b36dc Mon Sep 17 00:00:00 2001 From: Damien Chaumette Date: Wed, 28 May 2003 14:49:15 +0000 Subject: forgot to commit the new configuration step --- perl-install/network/isdn.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm index 3c070cf2c..fccba6df5 100644 --- a/perl-install/network/isdn.pm +++ b/perl-install/network/isdn.pm @@ -217,7 +217,10 @@ sub isdn_detect { if ($isdn->{id}) { log::l("found isdn card : $isdn->{description}; vendor : $isdn->{vendor}; id : $isdn->{id}; driver : $isdn->{driver}\n"); $isdn->{description} =~ s/\|/ -- /; - if ($isdn->{type} eq '') { + + defined $isdn->{type} and my $new = $in->ask_yesorno(N("ISDN Configuration"), N("Do you want to start a new configuration ?"), 1); + + if ($isdn->{type} eq '' || $new) { isdn_ask($isdn, $netc, N("I have detected an ISDN PCI card, but I don't know its type. Please select a PCI card on the next screen.")) or return; } else { isdn_detect_step_1: -- cgit v1.2.1