mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user