summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2003-03-05 16:41:54 +0000
committerFrederic Lepied <flepied@mandriva.com>2003-03-05 16:41:54 +0000
commite1ea1d7d27c8f6202ac9cab5bfa495c8a75254b6 (patch)
tree54d88d1ffc04705237f0efd6e2a8ad5c9ae35502 /perl-install/network
parentefab3ecc89faa4ab36fc14a9307359d9478757eb (diff)
downloaddrakx-backup-do-not-use-e1ea1d7d27c8f6202ac9cab5bfa495c8a75254b6.tar
drakx-backup-do-not-use-e1ea1d7d27c8f6202ac9cab5bfa495c8a75254b6.tar.gz
drakx-backup-do-not-use-e1ea1d7d27c8f6202ac9cab5bfa495c8a75254b6.tar.bz2
drakx-backup-do-not-use-e1ea1d7d27c8f6202ac9cab5bfa495c8a75254b6.tar.xz
drakx-backup-do-not-use-e1ea1d7d27c8f6202ac9cab5bfa495c8a75254b6.zip
read right config according to isdn-light or isdn4linux
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/isdn.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm
index 1408e1587..147fb0970 100644
--- a/perl-install/network/isdn.pm
+++ b/perl-install/network/isdn.pm
@@ -39,16 +39,16 @@ We recommand the light configuration.
if ($e =~ /card/) {
intern_pci:
$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';
$netcnx->{isdn_internal}{is_light} =
defined $netc->{autodetect}{isdn}{id} ? 1 : $netc->{autodetect}{isdn}{is_light};
+ $netcnx->{isdn_internal} = isdn_read_config($netcnx->{isdn_internal});
isdn_detect($netcnx->{isdn_internal}, $netc) or return;
} else {
$netc->{isdntype} = 'isdn_external';
- $netcnx->{isdn_external} = isdn_read_config($isdn);
$netcnx->{isdn_external}{device} = $netc->{autodetect}{modem};
$netcnx->{isdn_external}{is_light} = $netc->{autodetect}{isdn}{is_light};
+ $netcnx->{isdn_external} = isdn_read_config($netcnx->{isdn_external});
$netcnx->{isdn_external}{special_command} = 'AT&F&O2B40';
require network::modem;
network::modem::ppp_choose($in, $netc, $netcnx->{isdn_external}) or goto isdn_step_1;