mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* refactor: OS Discovery files D-H * Combine edgeswitch check * fix my typo * update to fix tests
8 lines
173 B
PHP
8 lines
173 B
PHP
<?php
|
|
|
|
if (str_contains($sysDescr, array('D-Link DES-', 'Dlink DES-'))) {
|
|
$os = 'dlink';
|
|
} elseif (starts_with($sysDescr, array('DES-', 'DGS-'))) {
|
|
$os = 'dlink';
|
|
}
|