refactor: move hp jetdirect discovery to yaml (#5757)

This commit is contained in:
Tony Murray
2017-02-04 04:02:05 -06:00
committed by Neil Lathwood
parent 424ac80bff
commit 03f09118c1
3 changed files with 10 additions and 8 deletions

View File

@@ -1,7 +0,0 @@
<?php
if (str_contains($sysDescr, array('JETDIRECT', 'HP ETHERNET MULTI-ENVIRONMENT'))) {
$os = 'jetdirect';
} elseif (starts_with($sysObjectId, '.1.3.6.1.4.1.11.1') && !starts_with($sysObjectId, '.1.3.6.1.4.1.11.10.2.1.3.25')) {
$os = 'jetdirect';
}