From f5d31de24627657212675867a36831d208148043 Mon Sep 17 00:00:00 2001 From: damien Date: Mon, 11 Sep 2000 09:01:50 +0000 Subject: updated --- perl-install/network.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/network.pm b/perl-install/network.pm index c9eaaf9ba..2bf55a448 100644 --- a/perl-install/network.pm +++ b/perl-install/network.pm @@ -318,9 +318,9 @@ sub configureNetwork2 { sethostname($netc) unless $::testing; addDefaultRoute($netc) unless $::testing; - $in->pkg_install("dhcpcd") if grep { $_->{BOOTPROTO} =~ /^(dhcp)$/ } @{$intf}; + grep { $_->{BOOTPROTO} =~ /^(dhcp)$/ } @{$intf} and $::isStandalone ? system("urpmi --auto dhcpd") : $in->pkg_install("dhcpcd"); # Handle also pump (this is still in initscripts no?) - $in->pkg_install("pump") if grep { $_->{BOOTPROTO} =~ /^(pump|bootp)$/ } @{$intf}; + grep { $_->{BOOTPROTO} =~ /^(pump|bootp)$/ } @{$intf} and $::isStandalone ? system("urpmi --auto pump") : $in->pkg_install("pump"); #-res_init(); #- reinit the resolver so DNS changes take affect any::miscellaneousNetwork($in, $prefix); -- cgit v1.2.1