From 22bef264433eb52768635fb9920227e20566dbfb Mon Sep 17 00:00:00 2001 From: Damien Chaumette Date: Thu, 22 Jan 2004 10:54:18 +0000 Subject: drop now unused code --- perl-install/standalone/drakconnect | 8 -------- 1 file changed, 8 deletions(-) (limited to 'perl-install') diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index b8058e44c..245fb1b57 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -607,14 +607,6 @@ sub apply { network::network::sethostname($netc) if is_dynamic_ip($intf); - $netcnx->{type} eq 'modem' and network::modem::ppp_configure($in, $netcnx->{$netcnx->{type}}); - $netcnx->{type} eq 'isdn_internal' and network::isdn::isdn_write_config_backend($netcnx->{$netcnx->{type}}, $netc, $netcnx); #$light - $netcnx->{type} eq 'isdn_external' and network::modem::ppp_configure($in, $netcnx->{$netcnx->{type}}); - my $a = $netcnx->{type}; - $a =~ s/adsl_//; - $netcnx->{type} =~ /adsl/ and network::adsl::adsl_conf_backend($netcnx->{$netcnx->{type}}, $netc, $a, $netcnx); - - $netcnx->{dhcp_client} and $netc->{dhcp_client} = $netcnx->{dhcp_client}; network::network::configureNetwork2($in, $prefix, $netc, $intf); $netcnx->{type} =~ /adsl/ or system("/sbin/chkconfig --del adsl 2> /dev/null"); $netcnx->{type} !~ /adsl_p/ and system("$prefix/etc/rc.d/init.d/network restart"); -- cgit v1.2.1