Merge pull request #1818 from dibdot/lxc_fix
[project/luci.git] / applications / luci-app-ddns / root / etc / uci-defaults / 40_luci-ddns
1 #!/bin/sh
2
3 # no longer needed for "Save and Apply" to restart ddns
4 uci -q batch <<-EOF >/dev/null
5         delete ucitrack.@ddns[-1]
6         commit ucitrack
7 EOF
8
9 rm -f /tmp/luci-indexcache
10 return 0