In luci, the `interface` value has `o.default = 'wan'` configured.
Due to a behavior fix in 'o.default', values matching the default are
no longer saved. Currently, this is workedaround by disabling
'o.rmempty' in luci, but handling this compatibility fallback on the
backend is a cleaner and superior approach.
Ref: https://github.com/openwrt/luci/commit/
b004197a277804ec0c8f092412b91c1d3e5936fa
Signed-off-by: Andy Chiang <redacted>
PKG_NAME:=ddns-scripts
PKG_VERSION:=2.8.3
-PKG_RELEASE:=6
+PKG_RELEASE:=7
PKG_LICENSE:=GPL-2.0
local interface
- config_get interface $cfg interface
- [ -z "$interface" ] && return
+ config_get interface $cfg interface wan
[ "$interface" != "$interface_event" ] && return