rp-pppoe-server.lua 364 B

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