summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-ddns')
-rwxr-xr-xapplications/luci-app-ddns/luasrc/controller/ddns.lua11
-rw-r--r--applications/luci-app-ddns/root/usr/share/luci/menu.d/luci-app-ddns.json10
2 files changed, 10 insertions, 11 deletions
diff --git a/applications/luci-app-ddns/luasrc/controller/ddns.lua b/applications/luci-app-ddns/luasrc/controller/ddns.lua
deleted file mode 100755
index 247edef321..0000000000
--- a/applications/luci-app-ddns/luasrc/controller/ddns.lua
+++ /dev/null
@@ -1,11 +0,0 @@
--- Copyright 2008 Steven Barth <steven@midlink.org>
--- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
--- Copyright 2013 Manuel Munz <freifunk at somakoma dot de>
--- Copyright 2014-2018 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
--- Licensed to the public under the Apache License 2.0.
-
-module("luci.controller.ddns", package.seeall)
-
-function index()
- entry( {"admin", "services", "ddns"}, view("ddns/overview"), _("Dynamic DNS"), 59)
-end
diff --git a/applications/luci-app-ddns/root/usr/share/luci/menu.d/luci-app-ddns.json b/applications/luci-app-ddns/root/usr/share/luci/menu.d/luci-app-ddns.json
new file mode 100644
index 0000000000..ec6d46f8bb
--- /dev/null
+++ b/applications/luci-app-ddns/root/usr/share/luci/menu.d/luci-app-ddns.json
@@ -0,0 +1,10 @@
+{
+ "admin/services/ddns": {
+ "title": "Dynamic DNS",
+ "order": 59,
+ "action": {
+ "type": "view",
+ "path": "ddns/overview"
+ }
+ }
+}