diff options
author | damien <damien@mandriva.com> | 2001-09-12 17:15:36 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-09-12 17:15:36 +0000 |
commit | 8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480 (patch) | |
tree | 6a2715954bbbf868954eef75da6abcc3cfc7ee26 /perl-install/network/netconnect.pm | |
parent | ba0a8f74db346c94fb64f0a246c7e42ceb6a4982 (diff) | |
download | drakx-8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480.tar drakx-8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480.tar.gz drakx-8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480.tar.bz2 drakx-8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480.tar.xz drakx-8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480.zip |
new default connection handling
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 6c11a0e22..03be12866 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -223,6 +223,7 @@ ifdown eth0 $netc->{at_boot} = $in->ask_yesorno(_("Network Configuration Wizard"), _("Do you want to start the connection at boot?")); if ($netc->{internet_cnx_choice} ) { write_cnx_script($netc); + $netcnx->{type} = $netc->{internet_cnx}{$netc->{internet_cnx_choice}}{type}; } else { unlink "$prefix/etc/sysconfig/network-scripts/net_cnx_up"; unlink "$prefix/etc/sysconfig/network-scripts/net_cnx_down"; @@ -397,7 +398,7 @@ PPPAuthentication=$modem->{auth} PPPSpecialCommand=" . ($netcnx->{type} eq 'isdn_external' ? $netcnx->{isdn_external}{special_command} : '' ) . " ADSLInterfacesList= -ADSLModem=" . q(# Obsolete information. Please don't use it.) . " +ADSLModem=" . q( # Obsolete information. Please don't use it.) . " ADSLType=" . ($netcnx->{type} =~ /adsl/ ? $netcnx->{type} : '') . " ADSLProviderDomain=$netc->{DOMAINNAME2} ADSLProviderDNS1=$netc->{dnsServer2} |