summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua
diff options
context:
space:
mode:
authorascob <menosmalo753@gmail.com>2016-10-05 18:40:07 +0200
committerascob <menosmalo753@gmail.com>2017-01-15 14:18:08 +0100
commitcd8096b0ce66be927fa0e73405aa503e2201c2ca (patch)
tree10d30c64b610f847f1af01ffcff0d74b680d8383 /applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua
parentd4c33720208346ee7983213fe764df3102b8a771 (diff)
luci-app-dynapoint: new package
Add luci-app-dynapoint to repo LuCI Support for DynaPoint Dynapoint allows dynamic access point creation and deletion depending on changes of certain network conditions. More information: https://github.com/thuehn/dynapoint Signed-off-by: Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
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 000000000..65348632e
--- /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
+