mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated to use sysDescr
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
if (!$os) {
|
||||
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) {
|
||||
preg_match('/Darwin Kernel Version 15/', $sysDescr)) {
|
||||
$os = 'macosx';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user