3 # no longer needed for "Save and Apply" to restart ddns
4 uci -q batch <<-EOF >/dev/null
5 delete ucitrack.@ddns[-1]
9 # make helper script executable
10 chmod 755 /usr/lib/ddns/dynamic_dns_lucihelper.sh
12 # update application section for luci-app-ddns
13 uci -q get ddns.global > /dev/null || uci -q set ddns.global='ddns'
14 uci -q get ddns.global.date_format > /dev/null || uci -q set ddns.global.date_format='%F %R'
15 uci -q get ddns.global.log_lines > /dev/null || uci -q set ddns.global.log_lines='250'
18 rm -f /tmp/luci-indexcache