Making the prompt configurable in the server shell. Default is "Server".
parent
398d321f15
commit
71c8346f78
|
@ -49,8 +49,6 @@ namespace OpenSim.Server
|
||||||
|
|
||||||
static int Main(string[] args)
|
static int Main(string[] args)
|
||||||
{
|
{
|
||||||
m_Server = new HttpServerBase("Asset", args);
|
|
||||||
|
|
||||||
IConfig serverConfig = m_Server.Config.Configs["Startup"];
|
IConfig serverConfig = m_Server.Config.Configs["Startup"];
|
||||||
if (serverConfig == null)
|
if (serverConfig == null)
|
||||||
{
|
{
|
||||||
|
@ -58,6 +56,10 @@ namespace OpenSim.Server
|
||||||
throw new Exception("Configuration error");
|
throw new Exception("Configuration error");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
string prompt = serverConfig.GetString("Prompt", "Server");
|
||||||
|
|
||||||
|
m_Server = new HttpServerBase(prompt, args);
|
||||||
|
|
||||||
string connList = serverConfig.GetString("ServiceConnectors", String.Empty);
|
string connList = serverConfig.GetString("ServiceConnectors", String.Empty);
|
||||||
string[] conns = connList.Split(new char[] {',', ' '});
|
string[] conns = connList.Split(new char[] {',', ' '});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue