Merge pull request #1935 from Rosiak/issue-1931

fix issue-1931
This commit is contained in:
Daniel Preussker
2015-09-20 11:03:56 +00:00
+1 -9
View File
@@ -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';
}
}