summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
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 {
[