aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorTeravus Ovares2008-01-23 23:32:19 +0000
committerTeravus Ovares2008-01-23 23:32:19 +0000
commit09a616e1ea0cc1927b7ed94d646a91be9a7b435f (patch)
tree845a4c442de79fd65749ac2fbe931bf1d996920b /OpenSim/Region
parent* One more try at specifically identifying Debian from the code. (diff)
downloadopensim-SC_OLD-09a616e1ea0cc1927b7ed94d646a91be9a7b435f.zip
opensim-SC_OLD-09a616e1ea0cc1927b7ed94d646a91be9a7b435f.tar.gz
opensim-SC_OLD-09a616e1ea0cc1927b7ed94d646a91be9a7b435f.tar.bz2
opensim-SC_OLD-09a616e1ea0cc1927b7ed94d646a91be9a7b435f.tar.xz
* 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.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 52d0822..c1c6fe9 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -282,14 +282,12 @@ namespace OpenSim.Region.Environment.Scenes
282 m_statsReporter.OnSendStatsResult += SendSimStatsPackets; 282 m_statsReporter.OnSendStatsResult += SendSimStatsPackets;
283 MainLog.Instance.Verbose("PLATFORM", System.Environment.OSVersion.Platform.ToString()); 283 MainLog.Instance.Verbose("PLATFORM", System.Environment.OSVersion.Platform.ToString());
284 MainLog.Instance.Verbose("PLATFORM", System.Environment.OSVersion.ToString()); 284 MainLog.Instance.Verbose("PLATFORM", System.Environment.OSVersion.ToString());
285 try 285 string etcreturn = Util.ReadEtcIssue();
286 { 286 if (etcreturn.Contains("Debian"))
287 MainLog.Instance.Verbose("PLATRORM", "TERM:" + System.Environment.GetEnvironmentVariable("TERM"));
288 }
289 catch (System.Exception)
290 { 287 {
291 MainLog.Instance.Verbose("PLATFORM", "No TERM Environment Variable"); 288 MainLog.Instance.Verbose("PLATFORM", "Found Debian!");
292 } 289 }
290
293 } 291 }
294 292
295 #endregion 293 #endregion