summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2003-03-04 21:54:00 +0000
committerFrederic Lepied <flepied@mandriva.com>2003-03-04 21:54:00 +0000
commit29efd345f07a38ba6347feea96abe90607709758 (patch)
treeeb3a8e11561e539573197a366ccafbcbfb743732 /perl-install
parent19aa30f437bad3f554e6739867bd588cd640507e (diff)
downloaddrakx-29efd345f07a38ba6347feea96abe90607709758.tar
drakx-29efd345f07a38ba6347feea96abe90607709758.tar.gz
drakx-29efd345f07a38ba6347feea96abe90607709758.tar.bz2
drakx-29efd345f07a38ba6347feea96abe90607709758.tar.xz
drakx-29efd345f07a38ba6347feea96abe90607709758.zip
corrected isdn-light choice
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/isdn.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm
index 3f7d206f0..3bb656894 100644
--- a/perl-install/network/isdn.pm
+++ b/perl-install/network/isdn.pm
@@ -41,7 +41,11 @@ We recommand the light configuration.
$netc->{isdntype} = 'isdn_internal';
$netcnx->{isdn_internal} = isdn_read_config($isdn);
$netcnx->{isdn_internal}{$_} = $netc->{autodetect}{isdn}{$_} foreach 'description', 'vendor', 'id', 'driver', 'card_type', 'type', 'is_light';
- $netc->{autodetect}{isdn} and $isdn->{is_light} = 1;
+ if (defined $netc->{autodetect}{isdn}{id}) {
+ $netcnx->{isdn_internal}{is_light} = 1;
+ } else {
+ $netcnx->{isdn_internal}{is_light} = $netc->{autodetect}{isdn}{is_light};
+ }
isdn_detect($netcnx->{isdn_internal}, $netc) or return;
} else {
$netc->{isdntype} = 'isdn_external';