mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Seemingly tested VyOS support
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
<?php
|
||||
|
||||
str_replace("Vyatta", "", $poll_device['sysDescr']);
|
||||
list(,$version) = explode(" ", $poll_device['sysDescr'], 2);
|
||||
# Remove Vyatta prefix
|
||||
$device['sysDescr'] = str_replace("Vyatta ", "", $device['sysDescr']);
|
||||
|
||||
# Version is second remaining word in sysDescr
|
||||
list(,$version) = explode(" ", $device['sysDescr']);
|
||||
|
||||
$features = "";
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user