summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-27 11:20:27 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-27 11:20:27 +0000
commitfcaf2f7055701959e9295f361a4210e677743f9d (patch)
treeb24f8128066d79562eaa0b8b1bbef23711cca44b /perl-install/network
parent7f525ce07fca4398000d1254099fab94acab6f50 (diff)
downloaddrakx-backup-do-not-use-fcaf2f7055701959e9295f361a4210e677743f9d.tar
drakx-backup-do-not-use-fcaf2f7055701959e9295f361a4210e677743f9d.tar.gz
drakx-backup-do-not-use-fcaf2f7055701959e9295f361a4210e677743f9d.tar.bz2
drakx-backup-do-not-use-fcaf2f7055701959e9295f361a4210e677743f9d.tar.xz
drakx-backup-do-not-use-fcaf2f7055701959e9295f361a4210e677743f9d.zip
kill dead code
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/adsl.pm23
1 files changed, 0 insertions, 23 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 399cacd22..6ba60dcbe 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -53,16 +53,6 @@ If you don't know, choose 'use pppoe'"),
my $netcnx = $wiz->{var}{netcnx};
$netcnx->{type} = "adsl_$type";
- my %packages = (
- 'dhcp' => [ 'dhcpcd' ],
- 'eci' => [ 'eciadsl' ],
- 'pppoe' => [ 'rp-pppoe' ],
- 'pptp' => [ 'pptp-adsl' ],
- 'sagem' => [ 'adiusbadsl' ],
- 'sagem_dhcp' => [ qw(adiusbadsl dhcpcd) ],
- 'speedtouch' => [ 'speedtouch' ],
- );
- $in->do_pkgs->install(@{$packages{$type}});
$netcnx->{"adsl_$type"} = {};
$netcnx->{"adsl_$type"}{vpivci} = '' if $type =~ /eci|speedtouch/;
return 'ethernet' if $type eq 'dhcp';
@@ -72,19 +62,6 @@ If you don't know, choose 'use pppoe'"),
return "hw_account";
},
},
- adsl_conf2 => {
- #$adsl_type =~ /sagem|speedtouch|eci/ or conf_network_card($netc, $intf, 'static', '10.0.0.10') or goto adsl_conf_step_1;
- #adsl_conf_backend($adsl, $netc, $adsl_type) or goto adsl_conf_step_1;
- #1;
- },
- ethernet => {
- #go_ethernet($netc, $intf, 'dhcp', '', '', $first_time);
- },
- adsl_old_end => {
- post => sub {
- $wiz->{var}{adsl}{type} =~ /speedtouch|eci/ or $netconnect::need_restart_network = 1;
- },
- },
});
};