summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-udpxy/luasrc/controller/udpxy.lua
blob: 36a40ddfc751a7056525c433da0b4df6347a82eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com>
-- Licensed to the public under the Apache License 2.0.

module("luci.controller.udpxy", package.seeall)

function index()
	if not nixio.fs.access("/etc/config/udpxy") then
		return
	end

	local page = entry({"admin", "services", "udpxy"}, cbi("udpxy"), _("udpxy"))
	page.dependent = true

end