mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added detction for OSX El Capitan
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
if (!$os) {
|
||||
if (strpos($sysObjectId, '1.3.6.1.4.1.8072.3.2.16') !== false) {
|
||||
if (strpos($sysObjectId, '1.3.6.1.4.1.8072.3.2.16') !== false ||
|
||||
strpos($sysObjectId, '1.3.6.1.4.1.8072.3.2.255') !== false) {
|
||||
$os = 'macosx';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user