ddns-scripts: Update to Version 2.1.0-1 see description

- fixed postinst and prerm in Makefile
- implementation of provider specific update scripts into services and
services_ipv6 file.
	first Provider "no-ip.com"	- Thanks to DarkStarXxX for
request and testing
- finished uci/ddns wiki at http://wiki.openwrt.org/doc/uci/ddns
- rewritten retry management
- rewritten logging including following Issue 469
	https://github.com/openwrt/packages/issues/469
- stop running sections on hotplug ifdown event (like start on ifup)
- implement trap detection
	also kill "sleep" child processes
	SIGHUP to reload configuration (not really reloading, simply
starting a new process)
	/etc/init.d/ddns reload implemented
- code optimization
- new provider LoopiaDNS.se	Issue 494
	https://github.com/openwrt/packages/issues/494

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
This commit is contained in:
Christian Schoenebeck
2014-11-09 16:37:11 +01:00
parent 43d2457b98
commit 4192651448
12 changed files with 828 additions and 561 deletions
+12 -2
View File
@@ -1,16 +1,26 @@
#!/bin/sh /etc/rc.common
START=95
STOP=10
boot() {
return 0
}
reload() {
killall -1 dynamic_dns_updater.sh # send SIGHUP
}
restart() {
stop
sleep 1 # give time to shutdown
start
}
start() {
. /usr/lib/ddns/dynamic_dns_functions.sh
start_daemon_for_all_ddns_sections
}
stop() {
killall -9 dynamic_dns_updater.sh
killall dynamic_dns_updater.sh
}