diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-23 08:25:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-23 08:25:11 +0000 |
commit | 47300ec5219cf0cf340932ec3d7bf65e3420808a (patch) | |
tree | ecae1a382a8f836610030afa72871c52383fb403 /perl-install/network/netconnect.pm | |
parent | 5e76a83856dc7ce75649fb762b9d2769f8168fa1 (diff) | |
download | drakx-backup-do-not-use-47300ec5219cf0cf340932ec3d7bf65e3420808a.tar drakx-backup-do-not-use-47300ec5219cf0cf340932ec3d7bf65e3420808a.tar.gz drakx-backup-do-not-use-47300ec5219cf0cf340932ec3d7bf65e3420808a.tar.bz2 drakx-backup-do-not-use-47300ec5219cf0cf340932ec3d7bf65e3420808a.tar.xz drakx-backup-do-not-use-47300ec5219cf0cf340932ec3d7bf65e3420808a.zip |
initialize modem data structure at one point only for serial/PCI modems
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 77dcfe299..af8151148 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -365,6 +365,7 @@ Take a look at http://www.linmodems.org"), [ { label => N("Modem"), type => "list", val => \$modem_name, list => [ keys %{$netc->{autodetect}{modem}} ], allow_empty_list => 1 } ], }, post => sub { + $modem ||= $netcnx->{modem} ||= {};; $ntf_name = $netc->{autodetect}{modem}{$modem_name}{device} || $netc->{autodetect}{modem}{$modem_name}{description}; return "ppp_provider" if $ntf_name =~ m!^/dev/!; @@ -394,9 +395,6 @@ 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 { |