librenms/includes/discovery/os/prestige.inc.php
2015-07-11 16:12:35 +02:00

11 lines
181 B
PHP

<?php
if (!$os) {
if (preg_match('/^Prestige \d/', $sysDescr)) {
$os = 'prestige';
}
if (preg_match('/^P-.*-/', $sysDescr)) {
$os = 'prestige';
}
}