diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-09 17:23:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-09 17:23:54 +0000 |
commit | 4a4639167411d7d93c74bf043455d162406a6633 (patch) | |
tree | 0bc53ea32911b9d5629ebd5171d79ecff5766a08 | |
parent | cd81a69aaf6a720d7a04fd27a5f8307e719cb387 (diff) | |
download | drakx-4a4639167411d7d93c74bf043455d162406a6633.tar drakx-4a4639167411d7d93c74bf043455d162406a6633.tar.gz drakx-4a4639167411d7d93c74bf043455d162406a6633.tar.bz2 drakx-4a4639167411d7d93c74bf043455d162406a6633.tar.xz drakx-4a4639167411d7d93c74bf043455d162406a6633.zip |
really adapt to new network::isdn::isdn_detect_backend() API
-rw-r--r-- | perl-install/harddrake/data.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 691dafa34..b11d3017e 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -66,8 +66,7 @@ our @tree = member($_->{driver}, qw(cpia_usb cyber2000fb ibmcam mod_quickcam ov511 ov518_decomp pwc ultracam usbvideo)) } @devices) }, 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), f(@$isdn)) }, 0 ], + [ "ISDN", , N("ISDN adapters"), "modem.png", "$sbindir/drakconnect", sub { require network::isdn; f(network::isdn::isdn_detect_backend) }, 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 |