summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua')
-rw-r--r--applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua b/applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua
new file mode 100644
index 0000000000..65348632e9
--- /dev/null
+++ b/applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua
@@ -0,0 +1,9 @@
+module("luci.controller.dynapoint", package.seeall)
+
+function index()
+ if not nixio.fs.access("/etc/config/dynapoint") then
+ return
+ end
+ entry({"admin", "services", "dynapoint"}, cbi("dynapoint"), _("DynaPoint"))
+end
+