summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-20 11:18:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-20 11:18:38 +0000
commit5ba2f664af131206fb1b728ed10996fe75051f64 (patch)
tree0c5e32afa33e7071948f290137a07bb1b81dce27 /perl-install
parentde34527a96b3751426144b65766e2257147757ae (diff)
downloaddrakx-5ba2f664af131206fb1b728ed10996fe75051f64.tar
drakx-5ba2f664af131206fb1b728ed10996fe75051f64.tar.gz
drakx-5ba2f664af131206fb1b728ed10996fe75051f64.tar.bz2
drakx-5ba2f664af131206fb1b728ed10996fe75051f64.tar.xz
drakx-5ba2f664af131206fb1b728ed10996fe75051f64.zip
init modem data structure when manually selecting a serial port
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index d8c30cb90..9edea2c3c 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -408,6 +408,9 @@ Take a look at http://www.linmodems.org"),
choose_serial_port =>
{
+ pre => sub {
+ $modem ||= $netcnx->{modem} ||= {};;
+ },
name => N("Please choose which serial port your modem is connected to."),
interactive_help_id => 'selectSerialPort',
data => sub {