Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function lxc_call(lxc_action, lxc_name)
- luci.http.prepare_content("application/json")
- local rv = ubus:call("lxc", lxc_action, { name = lxc_name })
- luci.http.write(tostring(res))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement