luci/applications/luci-app-rp-pppoe-server/luasrc/controller/rp-pppoe-server.lua
Daniel Dickinson 1f4bda95ff luci-app-pppoe-server: Add PPPoE server configuration
Adds support for rp-pppoe-server configuration once pending
pull request for packages feed gets applied.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2016-08-13 20:36:18 -04:00

13 lines
364 B
Lua

-- Copyright 2015 Daniel Dickinson <openwrt@daniel.thecshore.com>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.rp-pppoe-server", package.seeall)
function index()
if not nixio.fs.access("/etc/config/pppoe") then
return
end
entry({"admin", "services", "rp-pppoe-server"}, cbi("rp-pppoe-server"), _("RP PPPoE Server"))
end