summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ocserv/luasrc/controller
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-08-06 16:03:05 +0200
committerFlorian Eckert <fe@dev.tdt.de>2019-08-06 16:23:08 +0200
commit7af8043a75ccf49c3e976984a4b10812e25d115f (patch)
treefe634e5fe9ec5b90ed173aaf19278043fd39a669 /applications/luci-app-ocserv/luasrc/controller
parenta63b465adb8ede7b62f60285b8cd30daa5e4afd0 (diff)
luci-app-ocserv: move to new vpn menu section
Move the app ocserv to the new vpn menu section. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-ocserv/luasrc/controller')
-rw-r--r--applications/luci-app-ocserv/luasrc/controller/ocserv.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/applications/luci-app-ocserv/luasrc/controller/ocserv.lua b/applications/luci-app-ocserv/luasrc/controller/ocserv.lua
index 79c6ddb78e..f41b481038 100644
--- a/applications/luci-app-ocserv/luasrc/controller/ocserv.lua
+++ b/applications/luci-app-ocserv/luasrc/controller/ocserv.lua
@@ -10,24 +10,24 @@ function index()
local page
- page = entry({"admin", "services", "ocserv"}, alias("admin", "services", "ocserv", "main"),
+ page = entry({"admin", "vpn", "ocserv"}, alias("admin", "vpn", "ocserv", "main"),
_("OpenConnect VPN"))
page.dependent = true
- page = entry({"admin", "services", "ocserv", "main"},
+ page = entry({"admin", "vpn", "ocserv", "main"},
cbi("ocserv/main"),
_("Server Settings"), 200)
page.dependent = true
- page = entry({"admin", "services", "ocserv", "users"},
+ page = entry({"admin", "vpn", "ocserv", "users"},
cbi("ocserv/users"),
_("User Settings"), 300)
page.dependent = true
- entry({"admin", "services", "ocserv", "status"},
+ entry({"admin", "vpn", "ocserv", "status"},
call("ocserv_status")).leaf = true
- entry({"admin", "services", "ocserv", "disconnect"},
+ entry({"admin", "vpn", "ocserv", "disconnect"},
post("ocserv_disconnect")).leaf = true
end