don't detect drac as linux

This commit is contained in:
Clint Armstrong
2015-07-22 12:13:51 -04:00
parent 3983d1239f
commit 44c4533d41

View File

@@ -1,7 +1,7 @@
<?php
if (!$os) {
if (preg_match('/^Linux/', $sysDescr)) {
if (preg_match('/^Linux/', $sysDescr) && $sysObjectID != '.1.3.6.1.4.1.674.10892.2') {
$os = 'linux';
}