From 36881418612f138c2c5d0702b289b2b2bc57cdbb Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Mon, 30 Mar 2009 22:50:46 +0000 Subject: Checking if the network is really up when testing connection (#48887 #48169 #45965). --- lib/network/netconnect.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/network') diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm index bede73e..74ca21d 100644 --- a/lib/network/netconnect.pm +++ b/lib/network/netconnect.pm @@ -311,6 +311,8 @@ If you do not know it, keep the preselected protocol.") }, #- FIXME: should use network::test for ppp (after future merge with network::connection) #- or start interface synchronously services::start('network-up') unless $::isInstall; + my $up = network::tools::connected(); + $success = $up; } "end"; #- handle disconnection in install? }, -- cgit v1.2.1