2 [ -n "${IPKG_INSTROOT}" ] || {
3 # luci updates are not in sync with ddns-script updates !!!
4 # needed because luci update might delete helper script
5 # copy dynamic_dns_helper.tmp.sh from ddns-scripts
6 cp -f /usr/lib/ddns/dynamic_dns_lucihelper.tmp.sh /usr/lib/ddns/dynamic_dns_lucihelper.sh
8 ( . /etc/uci-defaults/luci-ddns ) && rm -f /etc/uci-defaults/luci-ddns