summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/root/etc/uci-defaults/40_luci-ddns
blob: a82c1f9ac6f1d8dae520a76b092cb054ee99d12a (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
return 0