summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-19 22:12:01 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-19 22:12:01 +0000
commita268abd32e445523ac69cada38503abad4e6cd43 (patch)
tree15ff19b7e4c244ee2271750449970c8b395a3b52 /perl-install
parent5d5a663840152466503e879cba9b8b2f7ebcafb6 (diff)
downloaddrakx-a268abd32e445523ac69cada38503abad4e6cd43.tar
drakx-a268abd32e445523ac69cada38503abad4e6cd43.tar.gz
drakx-a268abd32e445523ac69cada38503abad4e6cd43.tar.bz2
drakx-a268abd32e445523ac69cada38503abad4e6cd43.tar.xz
drakx-a268abd32e445523ac69cada38503abad4e6cd43.zip
rename "ppp_choose step" as "choose_serial_port" and "ppp_choose2" one
as "ppp_choose"
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 2dbe16f9f..4a4550830 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -126,7 +126,7 @@ sub detect_timezone() {
killall pppd
), $netcnx->{type});
my $need_to_ask = $modem->{device} || !$netc->{autodetect}{winmodem};
- return $need_to_ask ? "ppp_choose" : "ppp_choose2";
+ return $need_to_ask ? "choose_serial_port" : "ppp_choose";
};
my $handle_multiple_cnx = sub {
@@ -470,7 +470,7 @@ Take a look at http://www.linmodems.org"),
},
# FIXME: only if $need_to_ask
- ppp_choose =>
+ choose_serial_port =>
{
pre => sub {
$mouse ||= {};
@@ -487,10 +487,10 @@ killall pppd
data => [ { var => \$modem->{device}, format => \&mouse::serial_port2text, type => "list",
list => [ grep { $_ ne $o_mouse->{device} } (if_(-e '/dev/modem', '/dev/modem'), mouse::serial_ports()) ] } ],
- next => "ppp_choose2",
+ next => "ppp_choose",
},
- ppp_choose2 =>
+ ppp_choose =>
{
pre => sub {
#my $secret = network::tools::read_secret_backend();