diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-06 19:04:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-06 19:04:34 +0000 |
commit | 1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40 (patch) | |
tree | 70dc2db3f56d25877b3e70a16d5f22d87d6aeed8 /perl-install | |
parent | 620b4743b45264f488e557d8a7e3160887f7f682 (diff) | |
download | drakx-backup-do-not-use-1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40.tar drakx-backup-do-not-use-1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40.tar.gz drakx-backup-do-not-use-1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40.tar.bz2 drakx-backup-do-not-use-1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40.tar.xz drakx-backup-do-not-use-1ed569b7b3c2878e11f0c9d3b5e20bfe7de3ba40.zip |
detect modem too
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/harddrake/data.pm | 6 |
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}], |