rtgraphs: use juci-bwc instead of luci-bwc

This commit is contained in:
Martin Schröder 2016-10-04 21:44:32 +02:00
parent bdfc1c7de1
commit 1199258f34

View File

@ -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