summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/data.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index d7636a1d4..773f3ee55 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -205,7 +205,11 @@ our @tree =
require list_modules;
require network::ethernet;
my @net_modules = list_modules::category2modules(network::ethernet::get_eth_categories());
- f(grep { member($_->{driver}, @net_modules) } @devices);
+ f(grep {
+ $_->{media_type} && $_->{media_type} =~ /^NETWORK/
+ || $_->{type} && $_->{type} eq 'network'
+ || member($_->{driver}, @net_modules);
+ } @devices);
},
checked_on_boot => 0,
},