mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
Fix coding style part 2
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
<?php
|
||||
|
||||
if (!$os)
|
||||
{
|
||||
if (strstr($sysObjectId, ".1.3.6.1.4.1.674.3224.1")) { $os = "screenos"; }
|
||||
if (strstr($sysObjectId, ".1.3.6.1.4.1.3224")) { $os = "screenos"; }
|
||||
}
|
||||
if (!$os) {
|
||||
if (strstr($sysObjectId, '.1.3.6.1.4.1.674.3224.1')) {
|
||||
$os = 'screenos';
|
||||
}
|
||||
|
||||
?>
|
||||
if (strstr($sysObjectId, '.1.3.6.1.4.1.3224')) {
|
||||
$os = 'screenos';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user