mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-04 08:02:05 +02:00
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:
@@ -3,7 +3,7 @@
|
|||||||
if (!$os)
|
if (!$os)
|
||||||
{
|
{
|
||||||
if (strstr($sysDescr, "Neyland 24T")) { $os = "powerconnect"; }
|
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"; }
|
if (preg_match("/Dell.*Gigabit\ Ethernet/i",$sysDescr)) { $os = "powerconnect"; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user