diff options
author | Daniel Dickinson <cshoredaniel@users.noreply.github.com> | 2017-01-16 09:28:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-16 09:28:26 -0500 |
commit | 348a6fde90863f003c7735593a29bf8eb2d2086a (patch) | |
tree | 57c75270af6a0d06e19b44a448ed421a855da1a7 /applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua | |
parent | 859bac61fccc3ae66b542c592115e0f0bddc892b (diff) | |
parent | cd8096b0ce66be927fa0e73405aa503e2201c2ca (diff) |
Merge pull request #817 from ascob/luci-app-dynapoint
luci-app-dynapoint: new package
Diffstat (limited to 'applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua')
-rw-r--r-- | applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua | 9 |
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 + |