mirror of
https://github.com/mkschreder/juci.git
synced 2025-01-08 11:57:39 +08:00
rtgraphs: use juci-bwc instead of luci-bwc
This commit is contained in:
parent
bdfc1c7de1
commit
1199258f34
@ -10,7 +10,7 @@ local json = require("orange/json");
|
||||
|
||||
local function bwc_get_graph(opts)
|
||||
if(not opts.ethdevice) then return { error = "No device specified" }; end
|
||||
local graph = juci.shell("luci-bwc -i %s 2>/dev/null", opts.ethdevice);
|
||||
local graph = juci.shell("juci-bwc -i %s 2>/dev/null", opts.ethdevice);
|
||||
return { graph = json.decode("["..graph.."]") };
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user