diff options
author | Daniel Dickinson <lede@cshore.thecshore.com> | 2016-08-13 20:36:18 -0400 |
---|---|---|
committer | Daniel Dickinson <lede@cshore.thecshore.com> | 2016-08-13 20:36:18 -0400 |
commit | 1f4bda95fffd0a9bf7538ec338d4deea36214392 (patch) | |
tree | ee284bc1555d56bab893c41b4068f5420c2fadaf /applications/luci-app-rp-pppoe-server/luasrc/controller | |
parent | 6415c04d1342162bad16874653189b3780cdbd04 (diff) |
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>
Diffstat (limited to 'applications/luci-app-rp-pppoe-server/luasrc/controller')
-rw-r--r-- | applications/luci-app-rp-pppoe-server/luasrc/controller/rp-pppoe-server.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/applications/luci-app-rp-pppoe-server/luasrc/controller/rp-pppoe-server.lua b/applications/luci-app-rp-pppoe-server/luasrc/controller/rp-pppoe-server.lua new file mode 100644 index 0000000000..105a80e28d --- /dev/null +++ b/applications/luci-app-rp-pppoe-server/luasrc/controller/rp-pppoe-server.lua @@ -0,0 +1,13 @@ +-- 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 + |