luci/applications/luci-app-ddns/root/etc/uci-defaults/40_luci-ddns
Christian Schoenebeck 475b74b9bf luci-app-ddns: update to support ddns-scripts 2.7.6
needed changes to support ddns-scripts 2.7.6
- new command line options of dynamic_ddns_lucihelper.sh
- renamed global config options
- new location of services files

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-12-04 21:37:17 +01:00

10 lines
183 B
Bash
Executable file

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