12 lines
244 B
PHP
Raw Normal View History

<?php
2015-07-13 20:10:26 +02:00
if (!$os) {
if (strstr($sysDescr, '3Com Switch ')) {
$os = '3com';
} elseif (strstr($sysDescr, '3Com SuperStack')) {
2015-07-13 20:10:26 +02:00
$os = '3com';
} elseif (strstr($sysDescr, '3Com Baseline')) {
2015-07-13 20:10:26 +02:00
$os = '3com';
}
}