diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-30 15:14:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-30 15:14:00 +0000 |
commit | feb796f7d50024218370f371c5128957805da11f (patch) | |
tree | d8d6e1c74ef9fc7a205104ca484e3bf5865b1ef6 /perl-install | |
parent | da0e707f2cf589a0be821aff7509f43fd0f983fd (diff) | |
download | drakx-feb796f7d50024218370f371c5128957805da11f.tar drakx-feb796f7d50024218370f371c5128957805da11f.tar.gz drakx-feb796f7d50024218370f371c5128957805da11f.tar.bz2 drakx-feb796f7d50024218370f371c5128957805da11f.tar.xz drakx-feb796f7d50024218370f371c5128957805da11f.zip |
do not offer to select dhcp client when configuring static interfaces
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/netconnect.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index aedb1743a..785915e82 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -801,8 +801,10 @@ 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 => \$netc->{dhcp_client}, - list => [ "dhcp-client", "dhcpcd", "dhcpxd" ], advanced => 1 }, + if_($auto_ip, + { label => N("DHCP client"), val => \$netc->{dhcp_client}, + list => [ "dhcp-client", "dhcpcd", "dhcpxd" ], advanced => 1 }, + ), ], }, complete => sub { |