diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-27 11:20:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-27 11:20:27 +0000 |
commit | fcaf2f7055701959e9295f361a4210e677743f9d (patch) | |
tree | b24f8128066d79562eaa0b8b1bbef23711cca44b /perl-install/network | |
parent | 7f525ce07fca4398000d1254099fab94acab6f50 (diff) | |
download | drakx-fcaf2f7055701959e9295f361a4210e677743f9d.tar drakx-fcaf2f7055701959e9295f361a4210e677743f9d.tar.gz drakx-fcaf2f7055701959e9295f361a4210e677743f9d.tar.bz2 drakx-fcaf2f7055701959e9295f361a4210e677743f9d.tar.xz drakx-fcaf2f7055701959e9295f361a4210e677743f9d.zip |
kill dead code
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/adsl.pm | 23 |
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; - }, - }, }); }; |