summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-08-27 10:58:06 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-08-27 10:58:06 +0000
commit69907ed1e861483d4063a1eec3662690681651a7 (patch)
tree57be1d65269228481701e476bcf25c4a06ba6366 /perl-install/install_steps_interactive.pm
parent0a2ecf8b913dea899159f455cd5b9db7d39e6031 (diff)
downloaddrakx-69907ed1e861483d4063a1eec3662690681651a7.tar
drakx-69907ed1e861483d4063a1eec3662690681651a7.tar.gz
drakx-69907ed1e861483d4063a1eec3662690681651a7.tar.bz2
drakx-69907ed1e861483d4063a1eec3662690681651a7.tar.xz
drakx-69907ed1e861483d4063a1eec3662690681651a7.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 1ad5d3e2a..96f2712f0 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -126,12 +126,7 @@ sub configureNetwork($) {
my @l = first(network::getNet());
@l = ($l[0]) unless $::expert; # keep only one
- foreach my $dev (@l) {
- my ($l) = grep { $_->{DEVICE} eq $dev } @{$o->{intf}};
-
- push @{$o->{intf}}, $l = { DEVICE => $dev } unless $l;
- $o->configureNetworkIntf($l);
- }
+ $o->configureNetworkIntf(network::findIntf($o->{intf}, $_)) foreach @l;
$o->configureNetworkNet($o->{netc} ||= {});
}
$o->SUPER::configureNetwork;