mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Changed OS name to "Xirrus ArrayOS" and internal OS name to 'xirrus_os'.
This commit is contained in:
@@ -1672,8 +1672,8 @@ $config['os'][$os]['over'][0]['graph'] = 'device_bits';
|
||||
$config['os'][$os]['over'][0]['text'] = 'Device Traffic';
|
||||
|
||||
// Xirrus AP
|
||||
$os = 'xirrus';
|
||||
$config['os'][$os]['text'] = 'Xirrus';
|
||||
$os = 'xirrus_aos';
|
||||
$config['os'][$os]['text'] = 'Xirrus ArrayOS';
|
||||
$config['os'][$os]['type'] = 'wireless';
|
||||
$config['os'][$os]['icon'] = 'xirrus';
|
||||
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
|
||||
if(!$os) {
|
||||
if (strstr($sysDescr, 'Xirrus')) {
|
||||
$os = 'xirrus';
|
||||
if (strstr($sysDescr, 'ArrayOS')) {
|
||||
$os = 'xirrus_aos';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user