1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add glorytun packages and LuCI app

This commit is contained in:
Ycarus 2018-01-19 14:22:01 +01:00
parent fc579c849e
commit 1b9ebf5ac2
15 changed files with 727 additions and 0 deletions

View file

@ -0,0 +1,12 @@
-- Copyright 2017 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.glorytun", package.seeall)
function index()
if not nixio.fs.access("/etc/config/glorytun") then
return
end
entry({"admin", "services", "glorytun"}, cbi("glorytun"), _("Glorytun") )
entry({"admin", "services", "glorytun", "settings"}, cbi("glorytun-settings"), nil ).leaf = true
end