X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=applications%2Fluci-app-rp-pppoe-server%2Fluasrc%2Fcontroller%2Frp-pppoe-server.lua;fp=applications%2Fluci-app-rp-pppoe-server%2Fluasrc%2Fcontroller%2Frp-pppoe-server.lua;h=105a80e28d8add47dcfd86daa5e1b3d0bf5e00f1;hb=1f4bda95fffd0a9bf7538ec338d4deea36214392;hp=0000000000000000000000000000000000000000;hpb=6415c04d1342162bad16874653189b3780cdbd04;p=project%2Fluci.git 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 000000000..105a80e28 --- /dev/null +++ b/applications/luci-app-rp-pppoe-server/luasrc/controller/rp-pppoe-server.lua @@ -0,0 +1,13 @@ +-- Copyright 2015 Daniel Dickinson +-- 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 +