summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-14 04:35:05 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-14 04:35:05 +0000
commitbdb8858f4e31665e3d8373e837588e0d921111eb (patch)
tree07267e31526470ba860b800170fc6aa2ff9f243e /perl-install
parent15f74b8ea5dcefa58b4c5d4f7db354a553eae3fc (diff)
downloaddrakx-backup-do-not-use-bdb8858f4e31665e3d8373e837588e0d921111eb.tar
drakx-backup-do-not-use-bdb8858f4e31665e3d8373e837588e0d921111eb.tar.gz
drakx-backup-do-not-use-bdb8858f4e31665e3d8373e837588e0d921111eb.tar.bz2
drakx-backup-do-not-use-bdb8858f4e31665e3d8373e837588e0d921111eb.tar.xz
drakx-backup-do-not-use-bdb8858f4e31665e3d8373e837588e0d921111eb.zip
detect not yet supported ethernnet cards too
Diffstat (limited to 'perl-install')
-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,
},