From ca397438d3a301b06ff4f9924d4a9c9b96ccf4e5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 12 Mar 2004 11:48:39 +0000 Subject: (configure_net) kill useless code --- perl-install/standalone/drakconnect | 9 --------- 1 file changed, 9 deletions(-) (limited to 'perl-install') diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index f3f48175e..d87c77b07 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -894,15 +894,6 @@ Please run \"Internet access\" in control center.")); my $param_vbox = Gtk2::VBox->new(0,0); my $i = 0; - my $extra_netdevice; - if ($netcnx->{type} eq 'isdn_internal') { - $extra_netdevice = "ppp0"; - } elsif ($netcnx->{type} eq 'modem' || $netcnx->{type} eq 'isdn_external') { - $extra_netdevice = "ppp0" if $netcnx->{type} eq 'modem'; - } elsif ($netcnx->{type} =~ /adsl/) { - $extra_netdevice = "ppp0"; - } - $extra_netdevice = "ippp0" if $netcnx->{type} =~ /^isdn/; #- duplicated code (waiting for 9.1 to be out to merge everything correctly, avoid bug elsewhere). if ($netcnx->{type} =~ /adsl/) { -- cgit v1.2.1