From d51a49af52d8f025d1fce62ab8e3676258f6edce Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 9 Feb 2004 14:58:43 +0000 Subject: blacklist bogus forcedeth driver for network hotplugging, enable ifplugd support for all other drivers even at install time (#7389) --- 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 75bbf8d94..fb6dd858a 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -785,7 +785,9 @@ Modifying the fields below will override this configuration."), $onboot = $ethntf->{ONBOOT} ? $ethntf->{ONBOOT} =~ /yes/ : bool2yesno(!member($ethntf->{DEVICE}, map { $_->{device} } detect_devices::pcmcia_probe())); $needhostname = $ethntf->{NEEDHOSTNAME} !~ /no/; - $hotplug = $::isStandalone && !$ethntf->{MII_NOT_SUPPORTED} || 1; + # blacklist bogus driver, enable ifplugd support else: + $ethntf->{MII_NOT_SUPPORTED} ||= bool2yesno(member($module, qw(forcedeth))); + $hotplug = !text2bool($ethntf->{MII_NOT_SUPPORTED}); $track_network_id = $::isStandalone && $ethntf->{HWADDR} || detect_devices::isLaptop(); delete $ethntf->{NETWORK}; delete $ethntf->{BROADCAST}; -- cgit v1.2.1