mirror of
https://github.com/Telecominfraproject/ols-ucentral-schema.git
synced 2025-11-01 18:47:51 +00:00
command: handle the new active/passive scanning flag
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{%
|
||||
let verbose = args.verbose ? true : false;
|
||||
ctx.call("wifi", "scan");
|
||||
let active = args.active ? true : false;
|
||||
ctx.call("wifi", "scan", { active });
|
||||
system("sleep 5");
|
||||
let scan = ctx.call("wifi", "scan_dump", {verbose});
|
||||
result_json({
|
||||
|
||||
Reference in New Issue
Block a user