Files
openwrt-packages/net/ddns-scripts/files/ddns.init
Christian Schoenebeck 5b26382273 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>
2015-02-05 21:33:02 +01:00

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
}