mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
ddns-scripts: Update to version 2.2.0-1
modified source directory structure - files for production files - samples for sample files (not installed in final build) modified Makefile - separate options for additional provider scripts - remove comments and empty lines from final build add IPv4 100.64/10 (RFC 6598) and 169.254/16 (RFC 5735) to the range of default blocked IP's. new option "bind_network" to force GNU Wget or cURL to use specific network/interface for communication new "domains.google.com" as IPv4 DDNS provider #822 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
This commit is contained in:
26
net/ddns-scripts/files/ddns.init
Normal file
26
net/ddns-scripts/files/ddns.init
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
START=95
|
||||
STOP=10
|
||||
|
||||
boot() {
|
||||
return 0
|
||||
}
|
||||
|
||||
reload() {
|
||||
killall -1 dynamic_dns_updater.sh 2>/dev/null # 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 dynamic_dns_updater.sh 2>/dev/null
|
||||
}
|
||||
Reference in New Issue
Block a user