Thank you Dell for changing the capitalization in sysDescr on a software upgrade

git-svn-id: http://www.observium.org/svn/observer/trunk@1371 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-07-16 20:55:10 +00:00
parent 31697d9352
commit f587200742

View File

@@ -3,7 +3,7 @@
if (!$os)
{
if (strstr($sysDescr, "Neyland 24T")) { $os = "powerconnect"; }
if (strstr($sysDescr, "PowerConnect ")) { $os = "powerconnect"; }
if (stristr($sysDescr, "PowerConnect ")) { $os = "powerconnect"; }
if (preg_match("/Dell.*Gigabit\ Ethernet/i",$sysDescr)) { $os = "powerconnect"; }
}