librenms/includes/discovery/os/prestige.inc.php
2016-09-23 22:30:53 +01:00

8 lines
150 B
PHP

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