summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/root/etc/uci-defaults/40_luci-ddns
blob: 9fd875e34b8af088951aacc2076ddbc9eacd8466 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# no longer needed for "Save and Apply" to restart ddns
uci -q batch <<-EOF >/dev/null
	delete ucitrack.@ddns[-1]
	commit ucitrack
EOF

rm -f /tmp/luci-indexcache
exit 0