Merge pull request #1299 from librenms/vyos-patch

Update vyos.inc.php
This commit is contained in:
Neil Lathwood
2015-06-18 20:23:44 +01:00
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
if (!$os || $os == "vyatta") {
if (preg_match("/^Vyatta VyOS/", $sysDescr) || preg_match("/^VyOS/", $sysDescr)) {
if (preg_match("/^Vyatta VyOS/", $sysDescr) || preg_match("/^VyOS/i", $sysDescr)) {
$os = "vyos";
}
}