mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Add detection of additions HP ProCurve units
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
<?php
|
||||
|
||||
if (!$os)
|
||||
{
|
||||
if (stristr($sysDescr, "ProCurve")) { $os = "procurve"; }
|
||||
if (!$os) {
|
||||
if (stristr($sysDescr, "ProCurve")) {
|
||||
$os = "procurve";
|
||||
} elseif (preg_match("/eCos-[0-9.]+/", $sysDescr)) {
|
||||
$os = "procurve";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user