mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 10:58:42 +00:00
fix issue-1931
This commit is contained in:
parent
b732153e6f
commit
8b939ad6ef
@ -1,15 +1,7 @@
|
||||
<?php
|
||||
|
||||
if (!$os) {
|
||||
if (stristr($sysDescr, 'VRP (R) Software')) {
|
||||
$os = 'vrp';
|
||||
}
|
||||
if (stristr($sysDescr, 'VRP Software Version')) {
|
||||
$os = 'vrp';
|
||||
}
|
||||
if (stristr($sysDescr, 'Software Version VRP')) {
|
||||
$os = 'vrp';
|
||||
} if (stristr($sysDescr, 'Versatile Routing Platform Software Version')) {
|
||||
if (stristr($sysDescr, 'VRP (R) Software') || stristr($sysDescr, 'VRP Software Version') || stristr($sysDescr, 'Software Version VRP') || stristr($sysDescr, 'Versatile Routing Platform Software')) {
|
||||
$os = 'vrp';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user