summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-25 17:30:10 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-25 17:30:10 +0000
commit608bd17483b357688e5cf967ac37a09c560c21ac (patch)
tree4810deb98a10ef4627442230cfe8f493c268b20b /perl-install
parent69cf8dea911b627e07125bd3f9787b77e99a0edf (diff)
downloaddrakx-backup-do-not-use-608bd17483b357688e5cf967ac37a09c560c21ac.tar
drakx-backup-do-not-use-608bd17483b357688e5cf967ac37a09c560c21ac.tar.gz
drakx-backup-do-not-use-608bd17483b357688e5cf967ac37a09c560c21ac.tar.bz2
drakx-backup-do-not-use-608bd17483b357688e5cf967ac37a09c560c21ac.tar.xz
drakx-backup-do-not-use-608bd17483b357688e5cf967ac37a09c560c21ac.zip
pre-detect modem device (instead of mouse device ...) and do it at the
right place
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 500f3710d..50fcfddcc 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -563,6 +563,9 @@ Take a look at http://www.linmodems.org"),
choose_serial_port =>
{
+ pre => sub {
+ $modem->{device} ||= readlink "$::prefix/dev/modem";
+ },
name => N("Please choose which serial port your modem is connected to."),
interactive_help_id => 'selectSerialPort',
data => sub {
@@ -618,10 +621,6 @@ Take a look at http://www.linmodems.org"),
ppp_account =>
{
- pre => sub {
- $mouse ||= {};
- $mouse->{device} ||= readlink "$::prefix/dev/mouse";
- },
name => N("Dialup: account options"),
data => sub {
[