luci-app-pppoe-server: Add PPPoE server configuration
[project/luci.git] / applications / luci-app-rp-pppoe-server / luasrc / controller / rp-pppoe-server.lua
1 -- Copyright 2015 Daniel Dickinson <openwrt@daniel.thecshore.com>
2 -- Licensed to the public under the Apache License 2.0.
3
4 module("luci.controller.rp-pppoe-server", package.seeall)
5
6 function index()
7         if not nixio.fs.access("/etc/config/pppoe") then
8                 return
9         end
10
11         entry({"admin", "services", "rp-pppoe-server"}, cbi("rp-pppoe-server"), _("RP PPPoE Server"))
12 end
13