librenms-librenms/includes/discovery/os/speedtouch.inc.php

12 lines
251 B
PHP
Raw Normal View History

<?php
2015-07-13 20:10:26 +02:00
if (!$os) {
if (strstr($sysDescr, 'TG585v7')) {
$os = 'speedtouch';
} elseif (strstr($sysDescr, 'SpeedTouch ')) {
2015-07-13 20:10:26 +02:00
$os = 'speedtouch';
} elseif (preg_match('/^ST\d/', $sysDescr)) {
2015-07-13 20:10:26 +02:00
$os = 'speedtouch';
}
}