summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-08-06 19:04:34 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-08-06 19:04:34 +0000
commit1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40 (patch)
tree70dc2db3f56d25877b3e70a16d5f22d87d6aeed8 /perl-install/harddrake/data.pm
parent620b4743b45264f488e557d8a7e3160887f7f682 (diff)
downloaddrakx-1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40.tar
drakx-1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40.tar.gz
drakx-1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40.tar.bz2
drakx-1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40.tar.xz
drakx-1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40.zip
detect modem too
Diffstat (limited to 'perl-install/harddrake/data.pm')
-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 4cd4e957e..6f6c6c4bb 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -50,7 +50,11 @@ our @tree =
grep { $_->{media_type} =~ /^NETWORK/ || member($_->{driver}, @usbnet) || $_->{type} eq 'network' } @devices}],
# ["","Tokenring cards", "Ethernetcard.png", "", \&detect_devices::getNet],
# ["","FDDI cards", "Ethernetcard.png", "", \&detect_devices::getNet],
-# ["","Modem", "Modem.png", "", \&detect_devices::getNet],
+ ["MODEM","Modem", "modem.png", "", sub { require network::modem;
+ my $modem;
+ modem_detect_backend($modem);
+ $modem->{device} ?$modem : {};
+ } ],
# ["","Isdn", "", "", \&detect_devices::getNet]
["BRIDGE","Bridge(s)", "memory.png", "", sub { grep { $_->{media_type} =~ 'BRIDGE' } @devices}],