SmartAudio/package/luci/luci-app-ddns/root/etc/uci-defaults/40_luci-ddns

11 lines
181 B
Bash

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