newdevice: Updated Edgerouter lite detection

This commit is contained in:
Neil Lathwood
2016-09-20 17:55:13 +01:00
parent afa4dd7c6b
commit b5cbe440de

View File

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