mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 10:58:42 +00:00
9284bc60ff
refactor: Update code in /includes to be psr2 compliant #4220
12 lines
244 B
PHP
12 lines
244 B
PHP
<?php
|
|
|
|
if (!$os) {
|
|
if (strstr($sysDescr, '3Com Switch ')) {
|
|
$os = '3com';
|
|
} elseif (strstr($sysDescr, '3Com SuperStack')) {
|
|
$os = '3com';
|
|
} elseif (strstr($sysDescr, '3Com Baseline')) {
|
|
$os = '3com';
|
|
}
|
|
}
|