librenms/includes/discovery/os/speedtouch.inc.php
2015-07-15 11:04:22 +02:00

14 lines
261 B
PHP

<?php
if (!$os) {
if (strstr($sysDescr, 'TG585v7')) {
$os = 'speedtouch';
}
else if (strstr($sysDescr, 'SpeedTouch ')) {
$os = 'speedtouch';
}
else if (preg_match('/^ST\d/', $sysDescr)) {
$os = 'speedtouch';
}
}