blob: 56221e043ff86136371ba5fe5927adc0fd368c64 (
plain)
1
2
3
4
5
6
7
8
9
10
|
module("luci.controller.vpnbypass", package.seeall)
function index()
if nixio.fs.access("/etc/config/vpnbypass") then
if luci.dispatcher.lookup("admin/vpn") then
entry({"admin", "vpn", "vpnbypass"}, cbi("vpnbypass"), _("VPN Bypass"))
else
entry({"admin", "services", "vpnbypass"}, cbi("vpnbypass"), _("VPN Bypass"))
end
end
end
|