mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-11 10:54:46 +08:00
12 lines
305 B
Lua
12 lines
305 B
Lua
module("luci.controller.pppoe-relay",package.seeall)
|
|
|
|
function index()
|
|
if not nixio.fs.access("/etc/config/pppoe-relay")then
|
|
return
|
|
end
|
|
|
|
local page = entry({"admin","services","pppoe-relay"},cbi("pppoe-relay"),_("PPPoE Relay"),90)
|
|
page.dependent = true
|
|
page.acl_depends = { "luci-app-pppoe-relay" }
|
|
|
|
end |