summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-24 13:20:06 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-24 13:20:06 +0000
commit6610ff95f647df15b8a4232b38f96280f70c41a8 (patch)
tree2f113337e7656b7bd6059014788dec66808a7998
parent2cd0efae4f4de2e622402117c39dd4a394648b8c (diff)
downloaddrakx-6610ff95f647df15b8a4232b38f96280f70c41a8.tar
drakx-6610ff95f647df15b8a4232b38f96280f70c41a8.tar.gz
drakx-6610ff95f647df15b8a4232b38f96280f70c41a8.tar.bz2
drakx-6610ff95f647df15b8a4232b38f96280f70c41a8.tar.xz
drakx-6610ff95f647df15b8a4232b38f96280f70c41a8.zip
propose /dev/modem before other device (as it will work for other most case).
-rw-r--r--perl-install/network/modem.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm
index 380567c46..faaee4e5b 100644
--- a/perl-install/network/modem.pm
+++ b/perl-install/network/modem.pm
@@ -223,7 +223,7 @@ sub ppp_choose {
interactive_help_id => 'selectSerialPort',
},
\&mouse::serial_port2text,
- [ grep { $_ ne $mouse->{device} } (mouse::serial_ports(), if_(-e '/dev/modem', '/dev/modem')) ]) || return;
+ [ grep { $_ ne $mouse->{device} } (if_(-e '/dev/modem', '/dev/modem'), mouse::serial_ports()) ]) || return;
my @cnx_list;
my $secret = network::tools::read_secret_backend();