From c58d972a55e15aa185ab30a044507e12afabc295 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 4 Apr 2008 16:09:41 +0000 Subject: use network-up to wait for connection to be started (useful when called right before adding urpmi media) --- lib/network/netconnect.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/network') diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm index de221a4..607c115 100644 --- a/lib/network/netconnect.pm +++ b/lib/network/netconnect.pm @@ -315,6 +315,9 @@ If you do not know it, keep the preselected protocol.") }, if ($answer) { $connection->disconnect; $connection->connect; + #- FIXME: should use network::test for ppp (after future merge with network::connection) + #- or start interface synchronously + services::start('network-up') unless $::isInstall; } "end"; #- handle disconnection in install? }, -- cgit v1.2.1