added to arubaos

This commit is contained in:
crcro
2016-08-19 12:25:54 +03:00
parent bd14338fec
commit 29d5b8a5af
2 changed files with 3 additions and 3 deletions

View File

@ -3,5 +3,8 @@
if (!$os) { if (!$os) {
if (strstr($sysDescr, 'ArubaOS')) { if (strstr($sysDescr, 'ArubaOS')) {
$os = 'arubaos'; $os = 'arubaos';
} elseif (preg_match('/HP(.+)2530(.+)/', $sysDescr)) {
//hp aruba 2530 series
$os = 'procurve';
} }
} }

View File

@ -6,8 +6,5 @@ if (!$os) {
} }
else if (preg_match('/eCos-[0-9.]+/', $sysDescr)) { else if (preg_match('/eCos-[0-9.]+/', $sysDescr)) {
$os = 'procurve'; $os = 'procurve';
} elseif (preg_match('/HP(.+)2530(.+)/', $sysDescr)) {
//hp aruba 2530 series
$os = 'procurve';
} }
} }