mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 03:43:29 +00:00
Update wrtbwmon.lua
Lean have a big jj.
This commit is contained in:
parent
1dcf342181
commit
dc248cb20a
@ -30,7 +30,7 @@ end
|
||||
|
||||
function usage_data()
|
||||
local db = usage_database_path()
|
||||
local publish_cmd = "wrtbwmon publish " .. db .. " /tmp/usage.htm /etc/wrtbwmon.user"
|
||||
local publish_cmd = "wrtbwmon publish " .. db .. " /tmp/usage.htm /etc/config/wrtbwmon.user"
|
||||
local cmd = "wrtbwmon update " .. db .. " && " .. publish_cmd .. " && cat /tmp/usage.htm"
|
||||
luci.http.prepare_content("text/html")
|
||||
luci.http.write(luci.sys.exec(cmd))
|
||||
|
Loading…
Reference in New Issue
Block a user