summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-23 16:17:10 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-23 16:17:10 +0000
commitff7e8a2ea88560c3659066292f497fe7b9e29c20 (patch)
tree4cb5e05012b417ab2b537c1bdc9c72928a8c6c8a /perl-install
parent9e00b3875c821548e20a5d7be0b9db76ae80dfab (diff)
downloaddrakx-ff7e8a2ea88560c3659066292f497fe7b9e29c20.tar
drakx-ff7e8a2ea88560c3659066292f497fe7b9e29c20.tar.gz
drakx-ff7e8a2ea88560c3659066292f497fe7b9e29c20.tar.bz2
drakx-ff7e8a2ea88560c3659066292f497fe7b9e29c20.tar.xz
drakx-ff7e8a2ea88560c3659066292f497fe7b9e29c20.zip
fix interface name when doing adsl over an ethernet card
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index aaadd6383..52d2e13b6 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -540,7 +540,7 @@ killall pppd
'sagem' => 'adiusbadsl',
'speedtouch' => 'speedtouch',
);
- my $adsl_device = find { $adsl_devices{$_} eq $ntf_name } keys %adsl_devices;
+ my $adsl_device = (find { $adsl_devices{$_} eq $ntf_name } keys %adsl_devices) || $ntf_name;
return 'adsl_unsupported_eci' if $adsl_device eq 'eci';
$netconnect::need_restart_network = member($adsl_device, qw(speedtouch eci));
$in->do_pkgs->install($packages{$adsl_device}) if $packages{$adsl_device};