projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luci-app-ddns: update/rebuild to support ddns-scripts V 2.x
[project/luci.git]
/
applications
/
luci-ddns
/
luasrc
/
model
/
cbi
/
ddns
/
ddns.lua
diff --git
a/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua
b/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua
index
f318b1b
..
1c7e04a
100644
(file)
--- a/
applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua
+++ b/
applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua
@@
-26,6
+26,10
@@
s.anonymous = false
s:option(Flag, "enabled", translate("Enable"))
s:option(Flag, "enabled", translate("Enable"))
+interface = s:option(ListValue, "interface", translate("Event interface"), translate("Network on which the ddns-updater scripts will be started"))
+luci.tools.webadmin.cbi_add_networks(interface)
+interface.default = "wan"
+
svc = s:option(ListValue, "service_name", translate("Service"))
svc.rmempty = false
svc.default = "dyndns.org"
svc = s:option(ListValue, "service_name", translate("Service"))
svc.rmempty = false
svc.default = "dyndns.org"