luci/applications/luci-app-upnp/luasrc/controller/upnp.lua
Ansuel Smith cfa70932c3
luci-app-upnp: convert to client side implementation
Implement luci.upnp ubus app.
Convert lua page to js client side implementation.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-01-08 21:45:31 +01:00

13 lines
363 B
Lua

-- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.upnp", package.seeall)
function index()
if not nixio.fs.access("/etc/config/upnpd") then
return
end
entry({"admin", "services", "upnp"}, view("upnp/upnp"), _("UPnP"))
end