diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2004-01-22 10:54:18 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2004-01-22 10:54:18 +0000 |
commit | 22bef264433eb52768635fb9920227e20566dbfb (patch) | |
tree | 4a24467bfbc47c688b065c93034fd45e5e13a491 | |
parent | f02e2a0a62ab6517a70ea9a153d4d1d008315091 (diff) | |
download | drakx-backup-do-not-use-22bef264433eb52768635fb9920227e20566dbfb.tar drakx-backup-do-not-use-22bef264433eb52768635fb9920227e20566dbfb.tar.gz drakx-backup-do-not-use-22bef264433eb52768635fb9920227e20566dbfb.tar.bz2 drakx-backup-do-not-use-22bef264433eb52768635fb9920227e20566dbfb.tar.xz drakx-backup-do-not-use-22bef264433eb52768635fb9920227e20566dbfb.zip |
drop now unused code
-rwxr-xr-x | perl-install/standalone/drakconnect | 8 |
1 files changed, 0 insertions, 8 deletions
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"); |