mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Create a dsvpn interface and put all VPN in VPN menu
This commit is contained in:
parent
29b42e36a1
commit
87327f9489
8 changed files with 185 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
-- Copyright 2018 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
|
||||
-- Copyright 2018 - 2019 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
|
||||
-- Licensed to the public under the Apache License 2.0.
|
||||
|
||||
module("luci.controller.glorytun", package.seeall)
|
||||
|
@ -7,6 +7,8 @@ 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
|
||||
--entry({"admin", "services", "glorytun"}, cbi("glorytun"), _("Glorytun") )
|
||||
--entry({"admin", "services", "glorytun", "settings"}, cbi("glorytun-settings"), nil ).leaf = true
|
||||
entry({"admin", "vpn", "glorytun"}, cbi("glorytun"), _("Glorytun") )
|
||||
entry({"admin", "vpn", "glorytun", "settings"}, cbi("glorytun-settings"), nil ).leaf = true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue