Added $os check + copyright

This commit is contained in:
laf 2016-06-30 21:42:45 +01:00
parent 2fb253e40a
commit 50fa575649

View File

@ -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';
}
}