diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-09 14:58:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-09 14:58:43 +0000 |
commit | d51a49af52d8f025d1fce62ab8e3676258f6edce (patch) | |
tree | 016d0a7bcc91d140075604b5c99aa43b87309061 /perl-install/network/netconnect.pm | |
parent | cde9524eb3f6f188db66a7d35f7e3ee70dfeac2c (diff) | |
download | drakx-d51a49af52d8f025d1fce62ab8e3676258f6edce.tar drakx-d51a49af52d8f025d1fce62ab8e3676258f6edce.tar.gz drakx-d51a49af52d8f025d1fce62ab8e3676258f6edce.tar.bz2 drakx-d51a49af52d8f025d1fce62ab8e3676258f6edce.tar.xz drakx-d51a49af52d8f025d1fce62ab8e3676258f6edce.zip |
blacklist bogus forcedeth driver for network hotplugging, enable
ifplugd support for all other drivers even at install time (#7389)
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 4 |
1 files changed, 3 insertions, 1 deletions
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}; |