From 6630706dd9507c216a88de66dca8d4439c03ac49 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 9 Aug 2008 21:01:33 +0000 Subject: * Reinstate grid receive and send keys to user server config * Looks like these weren't so unused after all - oops! * Remove message from grid server config --- OpenSim/Grid/GridServer/GridServerBase.cs | 7 +------ OpenSim/Grid/GridServer/Program.cs | 14 +++++++------- 2 files changed, 8 insertions(+), 13 deletions(-) (limited to 'OpenSim/Grid/GridServer') diff --git a/OpenSim/Grid/GridServer/GridServerBase.cs b/OpenSim/Grid/GridServer/GridServerBase.cs index a8ebd27..d83027a 100644 --- a/OpenSim/Grid/GridServer/GridServerBase.cs +++ b/OpenSim/Grid/GridServer/GridServerBase.cs @@ -77,7 +77,7 @@ namespace OpenSim.Grid.GridServer { base.Startup(); - Config(); + m_config = new GridConfig("GRID SERVER", (Path.Combine(Util.configDir(), "GridServer_Config.xml"))); SetupGridManager(); @@ -132,11 +132,6 @@ namespace OpenSim.Grid.GridServer m_gridManager.Config = m_config; } - public void Config() - { - m_config = new GridConfig("GRID SERVER", (Path.Combine(Util.configDir(), "GridServer_Config.xml"))); - } - public void CheckSims(object sender, ElapsedEventArgs e) { /* diff --git a/OpenSim/Grid/GridServer/Program.cs b/OpenSim/Grid/GridServer/Program.cs index 6eb4e15..8094906 100644 --- a/OpenSim/Grid/GridServer/Program.cs +++ b/OpenSim/Grid/GridServer/Program.cs @@ -39,15 +39,15 @@ namespace OpenSim.Grid.GridServer GridServerBase app = new GridServerBase(); - if (args.Length > 0 && args[0] == "-setuponly") - { - app.Config(); - } - else - { +// if (args.Length > 0 && args[0] == "-setuponly") +// { +// app.Config(); +// } +// else +// { app.Startup(); app.Work(); - } +// } } } } -- cgit v1.1