mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-13 00:16:21 +02:00
12 lines
223 B
PHP
12 lines
223 B
PHP
<?php
|
|
|
|
# Remove Vyatta prefix
|
|
$device['sysDescr'] = str_replace("Vyatta ", "", $device['sysDescr']);
|
|
|
|
# Version is second remaining word in sysDescr
|
|
list(,$version) = explode(" ", $device['sysDescr']);
|
|
|
|
$features = "";
|
|
|
|
?>
|