librenms/includes/discovery/os/speedtouch.inc.php
2015-04-28 22:58:03 +02:00

10 lines
242 B
PHP

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