From 9a69824908631d7c9552d7ed7323499ff5bc4868 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 19 Feb 2004 23:32:15 +0000 Subject: since no PCMCIA cards support link status notification, ifplugd should be disabled for all pcmcia cards by default => let blacklist them (#8031) --- perl-install/network/netconnect.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/network') 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}; -- cgit v1.2.1