mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
catch more powerconnect
git-svn-id: http://www.observium.org/svn/observer/trunk@1036 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -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"; }
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user