op-packages/openwrt-dist-luci/files/luci/controller/shadowvpn.lua
github-actions[bot] 32600acc60 🌴 Sync 2026-03-05 23:51:42
2026-03-05 23:51:42 +08:00

18 lines
468 B
Lua

-- Copyright (C) 2014-2018 OpenWrt-dist
-- Copyright (C) 2014-2018 Jian Chang <aa65535@live.com>
-- Licensed to the public under the GNU General Public License v3.
module("luci.controller.shadowvpn", package.seeall)
function index()
if not nixio.fs.access("/etc/config/shadowvpn") then
return
end
page = entry({"admin", "services", "shadowvpn"},
cbi("shadowvpn"),
_("ShadowVPN"), 76)
page.dependent = true
page.acl_depends = { "luci-app-shadowvpn" }
end