Signed-off-by: Satoshi Kobayashi <[email protected]>
---
 bin/ryu-manager |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/ryu-manager b/bin/ryu-manager
index cc1ea74..9fbcfae 100755
--- a/bin/ryu-manager
+++ b/bin/ryu-manager
@@ -53,12 +53,6 @@ CONF.register_cli_opts([
 
 
 def main():
-    try:
-        CONF(project='ryu', version='ryu-manager %s' % version,
-             default_config_files=['/usr/local/etc/ryu/ryu.conf'])
-    except cfg.ConfigFilesNotFoundError:
-        CONF(project='ryu', version='ryu-manager %s' % version)
-
     log.init_log()
 
     # always enable ofp for now.
@@ -69,6 +63,12 @@ def main():
     contexts = app_mgr.create_contexts()
     app_mgr.instantiate_apps(**contexts)
 
+    try:
+        CONF(project='ryu', version='ryu-manager %s' % version,
+             default_config_files=['/usr/local/etc/ryu/ryu.conf'])
+    except cfg.ConfigFilesNotFoundError:
+        CONF(project='ryu', version='ryu-manager %s' % version)
+
     services = []
 
     ctlr = controller.OpenFlowController()
-- 
1.7.1


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to