librenms/includes/discovery/os/openbsd.inc.php
2015-07-15 11:04:22 +02:00

11 lines
206 B
PHP

<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.30155.23.1')) {
$os = 'openbsd';
} //end if
if (preg_match('/OpenBSD/', $sysDescr)) {
$os = 'openbsd';
} //end if
}