catch more powerconnect

git-svn-id: http://www.observium.org/svn/observer/trunk@1036 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-03-18 13:35:33 +00:00
parent f2b0b1d3a1
commit 2218bd8fd2
@@ -1,10 +1,10 @@
<?php
if(!$os)
if (!$os)
{
if(strstr($sysDescr, "Neyland 24T")) { $os = "powerconnect"; }
if(strstr($sysDescr, "PowerConnect ")) { $os = "powerconnect"; }
if(strstr($sysDescr, "Dell")) { $os = "powerconnect"; } // GHETTO ;-(
if (strstr($sysDescr, "Neyland 24T")) { $os = "powerconnect"; }
if (strstr($sysDescr, "PowerConnect ")) { $os = "powerconnect"; }
if (preg_match("/Dell.*Gigabit\ Ethernet/i")) { $os = "powerconnect"; }
}
?>