diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-23 17:19:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-23 17:19:49 +0000 |
commit | abc56d7d600dba98589d4bc5f2ed913c27062b82 (patch) | |
tree | 527f9e1153e4dc2a1144ce9b4363027ef862eb5f /perl-install/network.pm | |
parent | a1cd54dd7250397b4c8dee3795bac575a82853ab (diff) | |
download | drakx-abc56d7d600dba98589d4bc5f2ed913c27062b82.tar drakx-abc56d7d600dba98589d4bc5f2ed913c27062b82.tar.gz drakx-abc56d7d600dba98589d4bc5f2ed913c27062b82.tar.bz2 drakx-abc56d7d600dba98589d4bc5f2ed913c27062b82.tar.xz drakx-abc56d7d600dba98589d4bc5f2ed913c27062b82.zip |
(configureNetworkIntf): gray "IP address" and "Netmask" in DHCP/BOOTP
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r-- | perl-install/network.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network.pm b/perl-install/network.pm index 17b3a616c..2ee47426e 100644 --- a/perl-install/network.pm +++ b/perl-install/network.pm @@ -317,8 +317,8 @@ notation (for example, 1.2.3.4)."); $in->ask_from_entries_refH(_("Configuring network device %s", $intf->{DEVICE}), (_("Configuring network device %s", $intf->{DEVICE}) . ( $module ? _(" (driver $module)") : '' ) ."\n\n") . $text, - [ { label => _("IP address"), val => \$intf->{IPADDR} }, - { label => _("Netmask"), val => \$intf->{NETMASK} }, + [ { label => _("IP address"), val => \$intf->{IPADDR}, disabled => sub { $pump } }, + { label => _("Netmask"), val => \$intf->{NETMASK}, disabled => sub { $pump } }, { label => _("Automatic IP"), val => \$pump, type => "bool", text => _("(bootp/dhcp)") }, if_($intf->{wireless_eth}, { label => "WIRELESS_MODE", val => \$intf->{WIRELESS_MODE}, list => [ "Ad-hoc", "Managed", "Master", "Repeater", "Secondary", "Auto"] }, |