mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 16:26:55 +02:00
Missing a bracket, sorry.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
if (!$os) {
|
if (!$os) {
|
||||||
// if (strstr($sysDescr, "Neyland 24T")) { $os = "powerconnect"; } /* Powerconnect 5324 */
|
// if (strstr($sysDescr, "Neyland 24T")) { $os = "powerconnect"; } /* Powerconnect 5324 */
|
||||||
if (stristr($sysDescr, 'PowerConnect ') && !stristr($sysDescr, 'ArubaOS') {
|
if (stristr($sysDescr, 'PowerConnect ') && !stristr($sysDescr, 'ArubaOS')) {
|
||||||
$os = 'powerconnect';
|
$os = 'powerconnect';
|
||||||
}
|
}
|
||||||
else if (preg_match('/Dell.*Gigabit\ Ethernet/i', $sysDescr)) {
|
else if (preg_match('/Dell.*Gigabit\ Ethernet/i', $sysDescr)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user