ddns-scripts: add fallback for default values
authorAndy Chiang <redacted>
Sun, 7 Jun 2026 03:06:48 +0000 (10:06 +0700)
committerFlorian Eckert <redacted>
Tue, 9 Jun 2026 09:19:35 +0000 (11:19 +0200)
commitde4f8fe9e35239e60c80fedcace6b5e6e0807ea9
tree097611f0ce93d6276c7368a23494f0539aef7b3f
parent52b5b8e6552d2e845e2b11db571baf4d493409b9
ddns-scripts: add fallback for default values

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>
net/ddns-scripts/Makefile
net/ddns-scripts/files/etc/hotplug.d/iface/ddns
git clone https://git.99rst.org/PROJECT