summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-upnp/luasrc/controller/upnp.lua
blob: 4b610f28663f5906405be342a83771fd8cdd33de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- 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