summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-27 16:23:17 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-27 16:23:17 +0000
commit7625605f81761af1d938a3fa4a7f87d1291ebccb (patch)
tree925e97e587bf632e04b2a6d2c8ec936ae0dfeb3f /perl-install
parent4cece0e2654c107f8083348cb5f89c52a3c66776 (diff)
downloaddrakx-7625605f81761af1d938a3fa4a7f87d1291ebccb.tar
drakx-7625605f81761af1d938a3fa4a7f87d1291ebccb.tar.gz
drakx-7625605f81761af1d938a3fa4a7f87d1291ebccb.tar.bz2
drakx-7625605f81761af1d938a3fa4a7f87d1291ebccb.tar.xz
drakx-7625605f81761af1d938a3fa4a7f87d1291ebccb.zip
set drakconnect as config tool for modems as well as for isdn & adsl
adapters
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/harddrake/data.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 7a0e4ea2b..5d2ce0d01 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -63,10 +63,10 @@ our @tree =
my @usbnet = (list_modules::category2modules('network/usb'), "nvnet"); # rought hack for nforce2's nvet
grep { $_->{media_type} && $_->{media_type} =~ /^NETWORK/ || member($_->{driver}, @usbnet) || $_->{type} && $_->{type} eq 'network' } @devices }, 1 ],
- [ "MODEM", , N("Modem"), "modem.png", "", sub { detect_devices::getModem() }, 0 ],
- [ "ADSL", , N("ADSL adapters"), "modem.png", "", sub {
+ [ "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 ? values %$a : () }, 0 ],
- [ "ISDN", , N("ISDN adapters"), "modem.png", "", sub { require network::isdn; my $isdn = network::isdn::isdn_detect_backend();
+ [ "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 ],
[ "BRIDGE", , N("Bridges and system controllers"), "memory.png", "", sub { grep { $_->{media_type} =~ /BRIDGE|MEMORY_RAM/ && $_->{driver} ne 'nvnet' } @devices }, 0 ],
[ "UNKNOWN", , N("Unknown/Others"), "unknown.png", "", \&unknown, 0 ],