summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-10-16 11:51:51 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-10-16 11:51:51 +0000
commit341dbb85e7e447dad25770e316aba660db64afa3 (patch)
treec6db9a4d733fc0e5fffadc3dfa9c7f5c3f5787b7 /perl-install/harddrake/data.pm
parent713913efd242010ea8950501c7bd8a631a5d55d4 (diff)
downloaddrakx-backup-do-not-use-341dbb85e7e447dad25770e316aba660db64afa3.tar
drakx-backup-do-not-use-341dbb85e7e447dad25770e316aba660db64afa3.tar.gz
drakx-backup-do-not-use-341dbb85e7e447dad25770e316aba660db64afa3.tar.bz2
drakx-backup-do-not-use-341dbb85e7e447dad25770e316aba660db64afa3.tar.xz
drakx-backup-do-not-use-341dbb85e7e447dad25770e316aba660db64afa3.zip
-add cpus detection
- update todo list - perl_checker fix
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r--perl-install/harddrake/data.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index f34d3a7a9..e39b1d3ae 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -38,6 +38,9 @@ our @tree =
["AUDIO","Soundcard", "sound.png", "$sbindir/draksound",
sub { grep { $_->{media_type} =~ 'MULTIMEDIA_AUDIO' } @devices}, 0 ],
["WEBCAM","Webcam", "webcam.png", "", sub { grep { $_->{media_type} =~ 'MULTIMEDIA_VIDEO' && $_->{bus} ne 'PCI'} @devices }, 0 ],
+ ["CPU","Processors", "cpu.png", "", sub {
+ detect_devices::getCPUs();
+ }, 0 ],
["ETHERNET","Ethernetcard", "hw_network.png", "$sbindir/drakconnect", sub {
#- generic NIC detection for USB seems broken (class, subclass,
#- protocol report are not accurate) so I'll need to verify against