mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
11 lines
208 B
PHP
11 lines
208 B
PHP
<?php
|
|
|
|
if (!$os) {
|
|
if (strstr($sysDescr, 'Comware')) {
|
|
$os = 'comware';
|
|
}
|
|
else if (preg_match('/HP [a-zA-Z0-9- ]+ Switch Software Version/', $sysDescr)) {
|
|
$os = 'comware';
|
|
}
|
|
}
|