summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-31 14:11:42 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-31 14:11:42 +0000
commita8b0d1ec11c911e4acf8b46a5913d3527db2f73d (patch)
tree4aab835c986ac6c33f7952af88cd59edcc95e5f0 /perl-install/network/netconnect.pm
parentad29b45f4d9989d9774bf14098a39a1f75d23f88 (diff)
downloaddrakx-backup-do-not-use-a8b0d1ec11c911e4acf8b46a5913d3527db2f73d.tar
drakx-backup-do-not-use-a8b0d1ec11c911e4acf8b46a5913d3527db2f73d.tar.gz
drakx-backup-do-not-use-a8b0d1ec11c911e4acf8b46a5913d3527db2f73d.tar.bz2
drakx-backup-do-not-use-a8b0d1ec11c911e4acf8b46a5913d3527db2f73d.tar.xz
drakx-backup-do-not-use-a8b0d1ec11c911e4acf8b46a5913d3527db2f73d.zip
do not use ifplugd for wireless cards (and don't allow users to enable
it for wireless cards in drakconnect)
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 3 insertions, 1 deletions
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" },
),