summaryrefslogtreecommitdiffhomepage
path: root/modules/niu/luasrc/controller
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-11-14 18:41:13 +0000
committerSteven Barth <steven@midlink.org>2009-11-14 18:41:13 +0000
commit7baa5604664d973c31fb08105a78908ec9a07ed9 (patch)
treec164d2fdbff7df6bae6fbfe03c6ddd99a18cc00a /modules/niu/luasrc/controller
parent730a9b6f69ecd1ce26b0e1c9bcd51ccf42f56f31 (diff)
NIU: DDNS
Diffstat (limited to 'modules/niu/luasrc/controller')
-rw-r--r--modules/niu/luasrc/controller/niu/network.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/niu/luasrc/controller/niu/network.lua b/modules/niu/luasrc/controller/niu/network.lua
index 9301e25028..c0afba9e52 100644
--- a/modules/niu/luasrc/controller/niu/network.lua
+++ b/modules/niu/luasrc/controller/niu/network.lua
@@ -41,6 +41,11 @@ function index()
entry({"niu", "network", "conntrack"}, call("cnntrck"),
"Display Local Network Activity", 50)
+
+ if fs.access("/etc/config/ddns") then
+ entry({"niu", "network", "ddns"}, cbi("niu/network/ddns", toniu),
+ "Configure Dynamic-DNS names", 60)
+ end
end
function cnntrck()