mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix macosx disco
This commit is contained in:
@ -10,6 +10,6 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
if (starts_with($sysObjectId, '.1.3.6.1.4.1.8072.3.2.16') && str_contains($sysObjectId, array('Darwin Kernel Version 15', 'Darwin Kernel Version 16'))) {
|
||||
if (starts_with($sysObjectId, '.1.3.6.1.4.1.8072.3.2.16') || str_contains($sysDescr, array('Darwin Kernel Version 15', 'Darwin Kernel Version 16'))) {
|
||||
$os = 'macosx';
|
||||
}
|
||||
|
Reference in New Issue
Block a user