mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 10:58:42 +00:00
Added $os check + copyright
This commit is contained in:
parent
2fb253e40a
commit
50fa575649
@ -1,5 +1,17 @@
|
||||
<?php
|
||||
/*
|
||||
* LibreNMS IBM NOS information module
|
||||
*
|
||||
* Copyright (c) 2015 Søren Friis Rosiak <sorenrosiak@gmail.com>
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation, either version 3 of the License, or (at your
|
||||
* option) any later version. Please see LICENSE.txt at the top level of
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
if (stristr($sysDescr, 'BladeCenter Advanced Management Module')) {
|
||||
$os = 'ibm-amm';
|
||||
if (!$os) {
|
||||
if (stristr($sysDescr, 'BladeCenter Advanced Management Module')) {
|
||||
$os = 'ibm-amm';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user