summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-04 16:20:10 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-04 16:20:10 +0000
commitd465869b2fb2a9a6ad80f354ebf01a2b91d5622a (patch)
tree4ad3877662612e0647164a20df74c11729391bd1 /perl-install
parent928e76cd6d935cd528ccc03fc13edc6cc9e865c9 (diff)
downloaddrakx-d465869b2fb2a9a6ad80f354ebf01a2b91d5622a.tar
drakx-d465869b2fb2a9a6ad80f354ebf01a2b91d5622a.tar.gz
drakx-d465869b2fb2a9a6ad80f354ebf01a2b91d5622a.tar.bz2
drakx-d465869b2fb2a9a6ad80f354ebf01a2b91d5622a.tar.xz
drakx-d465869b2fb2a9a6ad80f354ebf01a2b91d5622a.zip
disconnect internet interface before trying to reconnect (or else some
nasty pppd and pppoa may be still alive)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index a3f50cfe8..8bec633a1 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -1441,6 +1441,8 @@ It is not necessary on most networks."),
if ($a) {
# local $::isWizard = 0;
my $_w = $in->wait_message('', N("Testing your connection..."), 1);
+ disconnect_backend($netc);
+ sleep 1;
connect_backend($netc);
my $s = 30;
$type =~ /modem/ and $s = 50;