package: add luci-app-freewtp

This commit is contained in:
Daniel Golle
2016-08-24 12:39:32 +02:00
parent 543fc7298b
commit cb6e5ce35b
3 changed files with 119 additions and 0 deletions

View File

@ -0,0 +1,13 @@
-- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010-2015 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.freewtp", package.seeall)
function index()
if not nixio.fs.access("/etc/config/wtp") then
return
end
entry( {"admin", "services", "freewtp"}, cbi("freewtp/freewtp"), _("FreeWTP"), 90).leaf=true
end