Files
librenms/includes/discovery/os/supermicro-switch.inc.php
T
2012-05-10 12:10:07 +00:00

11 lines
267 B
PHP

<?php
if (!$os)
{
if (preg_match("/^Supermicro Switch/", $sysDescr)) { $os = "supermicro-switch"; }
else if (preg_match("/^SSE-/", $sysDescr)) { $os = "supermicro-switch"; }
else if (preg_match("/^SBM-/", $sysDescr)) { $os = "supermicro-switch"; }
}
?>