diff options
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 36f8d2e..aa93f6e 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs | |||
@@ -428,25 +428,6 @@ namespace OpenSim.Framework.Servers | |||
428 | } | 428 | } |
429 | 429 | ||
430 | m_version += string.IsNullOrEmpty(buildVersion) ? " " : ("." + buildVersion + " ").Substring(0, 6); | 430 | m_version += string.IsNullOrEmpty(buildVersion) ? " " : ("." + buildVersion + " ").Substring(0, 6); |
431 | |||
432 | // Add operating system information if available | ||
433 | string OSString = ""; | ||
434 | |||
435 | if (System.Environment.OSVersion.Platform != PlatformID.Unix) | ||
436 | { | ||
437 | OSString = System.Environment.OSVersion.ToString(); | ||
438 | } | ||
439 | else | ||
440 | { | ||
441 | OSString = Util.ReadEtcIssue(); | ||
442 | } | ||
443 | |||
444 | if (OSString.Length > 45) | ||
445 | { | ||
446 | OSString = OSString.Substring(0, 45); | ||
447 | } | ||
448 | |||
449 | m_version += " (OS " + OSString + ")"; | ||
450 | } | 431 | } |
451 | } | 432 | } |
452 | } | 433 | } |