mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00: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