[for-0.12] luci-app-ddns: fix OpenWrt Ticket #18018 in BB release
fix for OpenWrt Ticket #18018 in BB 14.07 release. Without fix the application writes a config without event interface which causes ddns-scripts to NEVER start. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
This commit is contained in:
parent
77eaad64ce
commit
fd822574f9
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ s.anonymous = false
|
|||
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue