summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-19 23:32:15 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-19 23:32:15 +0000
commit9a69824908631d7c9552d7ed7323499ff5bc4868 (patch)
tree30f95678a86aeee2ab343ffa6b96b65c68c12b86 /perl-install/network/netconnect.pm
parent9be8005bb277b51ff0291a8e6dc0e6a7ada45400 (diff)
downloaddrakx-backup-do-not-use-9a69824908631d7c9552d7ed7323499ff5bc4868.tar
drakx-backup-do-not-use-9a69824908631d7c9552d7ed7323499ff5bc4868.tar.gz
drakx-backup-do-not-use-9a69824908631d7c9552d7ed7323499ff5bc4868.tar.bz2
drakx-backup-do-not-use-9a69824908631d7c9552d7ed7323499ff5bc4868.tar.xz
drakx-backup-do-not-use-9a69824908631d7c9552d7ed7323499ff5bc4868.zip
since no PCMCIA cards support link status notification, ifplugd should
be disabled for all pcmcia cards by default => let blacklist them (#8031)
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 1e6c6d58e..7b3a1b306 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -804,7 +804,9 @@ Modifying the fields below will override this configuration."),
map { $_->{device} } detect_devices::pcmcia_probe()));
$needhostname = $ethntf->{NEEDHOSTNAME} !~ /no/;
# blacklist bogus driver, enable ifplugd support else:
- $ethntf->{MII_NOT_SUPPORTED} ||= bool2yesno($is_wireless || member($module, qw(forcedeth)));
+ my @devs = detect_devices::pcmcia_probe();
+ $ethntf->{MII_NOT_SUPPORTED} ||= bool2yesno($is_wireless || member($module, qw(forcedeth))
+ || find { $_->{device} eq $ntf_name } @devs);
$hotplug = !text2bool($ethntf->{MII_NOT_SUPPORTED});
$track_network_id = $::isStandalone && $ethntf->{HWADDR} || detect_devices::isLaptop();
delete $ethntf->{NETWORK};