mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update ibmnos.inc.php
Use or instead of elseif
This commit is contained in:
@@ -9,17 +9,9 @@
|
||||
* option) any later version. Please see LICENSE.txt at the top level of
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
if (!$os)
|
||||
{
|
||||
if (stristr($sysDescr, "IBM Networking Operating System"))
|
||||
{
|
||||
$os = "ibmnos";
|
||||
}
|
||||
elseif (stristr($sysDescr, "IBM Flex System Fabric"))
|
||||
{
|
||||
$os = "ibmnos";
|
||||
}
|
||||
}
|
||||
|
||||
if (!$os) {
|
||||
if (stristr($sysDescr, "IBM Networking Operating System") || stristr($sysDescr, "IBM Flex System Fabric")) {
|
||||
$os = "ibmnos";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user