luci/applications/luci-app-ddns/root/etc/uci-defaults/40_luci-ddns

11 lines
183 B
Text
Raw Normal View History

#!/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