mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
- add option to (re)discovery only linux devices
This commit is contained in:
@@ -47,6 +47,10 @@ if (isset($options['h'])) {
|
||||
$where = 'AND `last_discovered` IS NULL';
|
||||
$doing = 'new';
|
||||
}
|
||||
else if ($options['h'] == 'linux') {
|
||||
$where = 'AND os = "linux"';
|
||||
$doing = 'linux';
|
||||
}
|
||||
else if ($options['h']) {
|
||||
if (is_numeric($options['h'])) {
|
||||
$where = "AND `device_id` = '".$options['h']."'";
|
||||
|
Reference in New Issue
Block a user