summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-15 21:15:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-15 21:15:03 +0000
commit32f5e6193f63c14e11c5e9cb02a6d6126f4bd348 (patch)
tree3b6fbe4e8324a6dbcd4c19abb523402cf761a689 /perl-install/harddrake
parentf5de174cc04b7dda1f4b6b37da3ff38ccab9ad96 (diff)
downloaddrakx-backup-do-not-use-32f5e6193f63c14e11c5e9cb02a6d6126f4bd348.tar
drakx-backup-do-not-use-32f5e6193f63c14e11c5e9cb02a6d6126f4bd348.tar.gz
drakx-backup-do-not-use-32f5e6193f63c14e11c5e9cb02a6d6126f4bd348.tar.bz2
drakx-backup-do-not-use-32f5e6193f63c14e11c5e9cb02a6d6126f4bd348.tar.xz
drakx-backup-do-not-use-32f5e6193f63c14e11c5e9cb02a6d6126f4bd348.zip
typo fix :-)
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/data.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 71b9f3cd7..96e5fccd2 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -67,6 +67,7 @@ our @tree =
0 ],
[ "CPU", , N("Processors"), "cpu.png", "", sub { detect_devices::getCPUs() }, 0 ],
[ "ISDN", , N("ISDN adapters"), "modem.png", "$sbindir/drakconnect", sub { require network::isdn; my $isdn = network::isdn::isdn_detect_backend();
+ if_(!is_empty_hash_ref($isdn), $isdn) }, 0 ],
[ "ETHERNET", , N("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
@@ -78,7 +79,6 @@ our @tree =
[ "MODEM", , N("Modem"), "modem.png", "$sbindir/drakconnect", sub { detect_devices::getModem() }, 0 ],
[ "ADSL", , N("ADSL adapters"), "modem.png", "$sbindir/drakconnect", sub {
require network::adsl; my $a = network::adsl::adsl_detect(); $a ? f(grep { $_ } values %$a) : () }, 0 ],
- if_(!is_empty_hash_ref($isdn), $isdn) }, 0 ],
[ "BRIDGE", , N("Bridges and system controllers"), "memory.png", "", sub { f(grep { $_->{media_type} =~ /BRIDGE|MEMORY_RAM/ && $_->{driver} ne 'nvnet' } @devices) }, 0 ],
[ "PRINTER", , N("Printer"), "hw_printer.png", "$sbindir/printerdrake", sub {
require printer::detect; printer::detect::local_detect() }, 0 ],