refactor: OS Discovery files D-H (#4572)

* refactor: OS Discovery files D-H

* Combine edgeswitch check

* fix my typo

* update to fix tests
This commit is contained in:
Neil Lathwood
2016-09-27 22:31:16 +01:00
committed by GitHub
parent f06b0ffb66
commit 6fdcf8a6da
43 changed files with 149 additions and 243 deletions

View File

@@ -9,9 +9,7 @@
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
if (!$os) {
if (str_contains($sysDescr, 'Foundry Networks')) {
$os = 'foundryos';
}
if (str_contains($sysDescr, 'Foundry Networks')) {
$os = 'foundryos';
}