summaryrefslogtreecommitdiffstats
path: root/perl-install/network/network.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-08-30 17:19:39 +0000
committerdamien <damien@mandriva.com>2001-08-30 17:19:39 +0000
commit5159820d2669d8c33d3b58b9bab985badb5f7a86 (patch)
treea9da04373984a3b251e5793f486c47bc10d034f9 /perl-install/network/network.pm
parent4cbf9a9c5893228ba0f1055ff93e59f1eeaa8375 (diff)
downloaddrakx-5159820d2669d8c33d3b58b9bab985badb5f7a86.tar
drakx-5159820d2669d8c33d3b58b9bab985badb5f7a86.tar.gz
drakx-5159820d2669d8c33d3b58b9bab985badb5f7a86.tar.bz2
drakx-5159820d2669d8c33d3b58b9bab985badb5f7a86.tar.xz
drakx-5159820d2669d8c33d3b58b9bab985badb5f7a86.zip
dhcp package installation
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 012e0db9c..9db252396 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -422,7 +422,7 @@ sub configureNetwork2 {
add2hosts("$etc/hosts", $netc->{HOSTNAME}, map { $_->{IPADDR} } values %$intf);
if (grep { $_->{BOOTPROTO} =~ /^(dhcp)$/ } values %$intf) {
- $in->do_pkgs->install('dhcpcd');
+ $in->do_pkgs->install($netc->{dhcp_client} ? $netc->{dhcp_client} : 'dhcpcd');
}
if (grep { $_->{BOOTPROTO} =~ /^(pump|bootp)$/ } values %$intf) {
$in->do_pkgs->install('pump');