summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-20 12:23:13 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-20 12:23:13 +0000
commit6ba0d5bcbaf34f93ae49fc1c8449611392affd9c (patch)
tree9dd32274753becedb62b41d8a283061941cf2541
parentd6372387d60443c5628c69129101e66d4f724ce7 (diff)
downloaddrakx-backup-do-not-use-6ba0d5bcbaf34f93ae49fc1c8449611392affd9c.tar
drakx-backup-do-not-use-6ba0d5bcbaf34f93ae49fc1c8449611392affd9c.tar.gz
drakx-backup-do-not-use-6ba0d5bcbaf34f93ae49fc1c8449611392affd9c.tar.bz2
drakx-backup-do-not-use-6ba0d5bcbaf34f93ae49fc1c8449611392affd9c.tar.xz
drakx-backup-do-not-use-6ba0d5bcbaf34f93ae49fc1c8449611392affd9c.zip
add hidden option enabling to select dhcp client
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index c07d27494..247bc1d3c 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -564,6 +564,7 @@ Modifying the fields below will override this configuration."),
delete $ethntf->{NETWORK};
delete $ethntf->{BROADCAST};
@fields = qw(IPADDR NETMASK);
+ $netcnx->{dhcp_client} ||= "dhcp-client";
},
name => sub { join('',
N("Configuring network device %s (driver %s)", $ethntf->{DEVICE}, $module),
@@ -585,6 +586,8 @@ notation (for example, 1.2.3.4).")),
{ text => N("Track network card id (useful for laptops)"), val => \$track_network_id, type => "bool" },
{ text => N("Network Hotplugging"), val => \$hotplug, type => "bool" },
{ text => N("Start at boot"), val => \$onboot, type => "bool" },
+ { label => N("DHCP client"), val => \$netcnx->{dhcp_client},
+ list => ["dhcp-client", "dhcpcd", "dhcpxd"], advanced => 1 },
],
},
complete => sub {