mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
* Added ReadEtcIssue to Util
* If you have Debian running, you should get a platform line that says, 'Found Debian!' when starting up your sim. * If someone running Debian will confirm this does occur, that would be most helpful.
This commit is contained in:
@@ -282,14 +282,12 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
m_statsReporter.OnSendStatsResult += SendSimStatsPackets;
|
||||
MainLog.Instance.Verbose("PLATFORM", System.Environment.OSVersion.Platform.ToString());
|
||||
MainLog.Instance.Verbose("PLATFORM", System.Environment.OSVersion.ToString());
|
||||
try
|
||||
string etcreturn = Util.ReadEtcIssue();
|
||||
if (etcreturn.Contains("Debian"))
|
||||
{
|
||||
MainLog.Instance.Verbose("PLATRORM", "TERM:" + System.Environment.GetEnvironmentVariable("TERM"));
|
||||
}
|
||||
catch (System.Exception)
|
||||
{
|
||||
MainLog.Instance.Verbose("PLATFORM", "No TERM Environment Variable");
|
||||
MainLog.Instance.Verbose("PLATFORM", "Found Debian!");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user