mirror of
https://github.com/openwrt/packages.git
synced 2025-12-17 08:01:19 +00:00
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>
27 lines
347 B
Bash
27 lines
347 B
Bash
#!/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
|
|
}
|