summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-30 22:58:33 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-30 22:58:33 +0000
commit2b044f3fa4a763c67b4f9ef847598193f1462efd (patch)
tree83c1da9a0eb7a09958a717fde989f3dfc04b8695
parent87af8c4f65f90b7855af957539b3b16dc85957c7 (diff)
downloaddrakx-2b044f3fa4a763c67b4f9ef847598193f1462efd.tar
drakx-2b044f3fa4a763c67b4f9ef847598193f1462efd.tar.gz
drakx-2b044f3fa4a763c67b4f9ef847598193f1462efd.tar.bz2
drakx-2b044f3fa4a763c67b4f9ef847598193f1462efd.tar.xz
drakx-2b044f3fa4a763c67b4f9ef847598193f1462efd.zip
fix always detecting ethernet cards even when none is present
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 09bc30243..d632e396b 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -114,7 +114,8 @@ If you don't want to use the auto detection, deselect the checkbox.
);
- $conf{$_} = $netc->{autodetect}{$_} ? 1 : 0 foreach 'modem', 'winmodem', 'adsl', 'cable', 'lan';
+ $conf{$_} = values %{$netc->{autodetect}{$_}} ? 1 : 0 foreach 'lan';
+ $conf{$_} = $netc->{autodetect}{$_} ? 1 : 0 foreach qw(adsl cable modem winmodem);
$conf{isdn} = $netc->{autodetect}{isdn}{driver} ? 1 : 0;
step_2: