summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-17 08:45:44 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-17 08:45:44 +0000
commitc2e9abd426011e1e1a0e12755699a42bdb539f63 (patch)
tree5455607f03e2ad93a58243ac095f19e7e5599570 /perl-install/network/netconnect.pm
parent0b1e80dcbb8258440c776def46db58c47183e0ab (diff)
downloaddrakx-c2e9abd426011e1e1a0e12755699a42bdb539f63.tar
drakx-c2e9abd426011e1e1a0e12755699a42bdb539f63.tar.gz
drakx-c2e9abd426011e1e1a0e12755699a42bdb539f63.tar.bz2
drakx-c2e9abd426011e1e1a0e12755699a42bdb539f63.tar.xz
drakx-c2e9abd426011e1e1a0e12755699a42bdb539f63.zip
fix SmartLink modem managment (#8959)
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index f58a66cd7..1ae3d1947 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -494,7 +494,7 @@ Take a look at http://www.linmodems.org"),
interactive_help_id => 'selectSerialPort',
data => sub {
[ { val => \$modem->{device}, format => \&mouse::serial_port2text, type => "list",
- list => [ grep { $_ ne $o_mouse->{device} } (if_(-e '/dev/modem', '/dev/modem'), mouse::serial_ports()) ] } ],
+ list => [ grep { $_ ne $o_mouse->{device} } (mouse::serial_ports(), grep { -e $_ } '/dev/modem', '/dev/ttySL0') ] } ],
},
post => sub {
$ntf_name = $modem->{device};