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

14 lines
261 B
PHP
Raw Normal View History

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