mirror of
https://github.com/librenms/librenms.git
synced 2024-09-23 03:18:54 +00:00
11 lines
181 B
PHP
11 lines
181 B
PHP
<?php
|
|
|
|
if (!$os) {
|
|
if (preg_match('/^Prestige \d/', $sysDescr)) {
|
|
$os = 'prestige';
|
|
}
|
|
if (preg_match('/^P-.*-/', $sysDescr)) {
|
|
$os = 'prestige';
|
|
}
|
|
}
|