From a8b0d1ec11c911e4acf8b46a5913d3527db2f73d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 31 Mar 2005 14:11:42 +0000 Subject: do not use ifplugd for wireless cards (and don't allow users to enable it for wireless cards in drakconnect) --- perl-install/network/netconnect.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index cd5c93ac1..88fb25555 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -146,6 +146,7 @@ sub real_main { my $is_hotplug_blacklisted = sub { bool2yesno(member($module, qw(b44 forcedeth madwifi_pci via-velocity)) || + $is_wireless || find { $_->{device} eq $ntf_name } detect_devices::pcmcia_probe()); }; @@ -1051,7 +1052,8 @@ notation (for example, 1.2.3.4).")), { label => N("Netmask"), val => \$ethntf->{NETMASK}, disabled => sub { $auto_ip } }, ), { text => N("Track network card id (useful for laptops)"), val => \$track_network_id, type => "bool" }, - { text => N("Network Hotplugging"), val => \$hotplug, type => "bool" }, + if_(!$is_wireless, + { text => N("Network Hotplugging"), val => \$hotplug, type => "bool" }), if_($netcnx->{type} eq "lan", { text => N("Start at boot"), val => \$onboot, type => "bool" }, ), -- cgit v1.2.1