Added (partial) SMBIOS support for Linux by reading from sysfs.

This commit is contained in:
Michael Möller
2010-06-07 20:03:48 +00:00
parent bee7a9b80b
commit 57dbd750e0
4 changed files with 335 additions and 263 deletions

View File

@@ -140,10 +140,9 @@ namespace OpenHardwareMonitor.GUI {
UnitManager.TemperatureUnit == TemperatureUnit.Celcius;
fahrenheitToolStripMenuItem.Checked = !celciusToolStripMenuItem.Checked;
// Hide the system tray and auto startup menu items on Unix
// Hide the auto startup menu item on Unix
int p = (int)System.Environment.OSVersion.Platform;
if ((p == 4) || (p == 128)) {
minTrayMenuItem.Visible = false;
startupMenuItem.Visible = false;
}