Mailinglist Archive: yast-commit (723 mails)

< Previous Next >
[yast-commit] r47444 - in /trunk/network: VERSION src/modules/Lan.ycp
  • From: mzugec@xxxxxxxxxxxxxxxx
  • Date: Mon, 12 May 2008 09:50:34 -0000
  • Message-id: <20080512095034.CFAA729DE7@xxxxxxxxxxxxxxxx>
Author: mzugec
Date: Mon May 12 11:50:34 2008
New Revision: 47444

URL: http://svn.opensuse.org/viewcvs/yast?rev=47444&view=rev
Log:
for NM wait when network is available in Write() (bnc#387050)

Modified:
trunk/network/VERSION
trunk/network/src/modules/Lan.ycp

Modified: trunk/network/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/VERSION?rev=47444&r1=47443&r2=47444&view=diff
==============================================================================
--- trunk/network/VERSION (original)
+++ trunk/network/VERSION Mon May 12 11:50:34 2008
@@ -1 +1 @@
-2.16.42
+2.16.43

Modified: trunk/network/src/modules/Lan.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/modules/Lan.ycp?rev=47444&r1=47443&r2=47444&view=diff
==============================================================================
--- trunk/network/src/modules/Lan.ycp (original)
+++ trunk/network/src/modules/Lan.ycp Mon May 12 11:50:34 2008
@@ -408,6 +408,7 @@
DNS::Write();
Host::Write();
Progress::set (orig);
+
sleep(sl);

if(Abort()) return false;
@@ -465,6 +466,21 @@
sleep(sl);

if(Abort()) return false;
+ if (NetworkService::IsManaged())
+ {
+ boolean network=false;
+ integer timeout=10;
+ while(timeout>0)
+ {
+ if (NetworkService::isNetworkRunning()){
+ network=true;
+ break;
+ }
+ y2milestone("waiting for network ... %1", timeout);
+ timeout = timeout-1;
+ }
+ if (!network) Popup::Error(_("No network running"));
+ }
return true;
}


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages