Merge pull request #4504 from laf/erl-update

newdevice: Updated Edgerouter lite detection
This commit is contained in:
Neil Lathwood 2016-09-20 18:40:06 +01:00 committed by GitHub
commit 5b9342f6e1

View File

@ -1,5 +1,10 @@
<?php
if (starts_with($sysDescr, 'EdgeOS')) {
$items = array(
'EdgeOS',
'EdgeRouter Lite',
);
if (starts_with($sysDescr, $items)) {
$os = 'edgeos';
}