summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-05-28 14:49:15 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-05-28 14:49:15 +0000
commitf0d270a5c5835ba61971e7947b19e4d7116b36dc (patch)
treed8859ff2bb7def4a2bfde184f0b9807113a59e9a /perl-install
parent8d7b94d898aeb72c011fd4a91ee2f6924acd7e1d (diff)
downloaddrakx-f0d270a5c5835ba61971e7947b19e4d7116b36dc.tar
drakx-f0d270a5c5835ba61971e7947b19e4d7116b36dc.tar.gz
drakx-f0d270a5c5835ba61971e7947b19e4d7116b36dc.tar.bz2
drakx-f0d270a5c5835ba61971e7947b19e4d7116b36dc.tar.xz
drakx-f0d270a5c5835ba61971e7947b19e4d7116b36dc.zip
forgot to commit the new configuration step
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/isdn.pm5
1 files changed, 4 insertions, 1 deletions
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: