commit 0e8b2d50d3f7b41e52e7399f6a1ed338b137321f parent a4962b8720782c76b02bbcd57f0a9f5e8935d562 Author: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> Date: Wed, 30 Jul 2014 08:28:04 +0200 Merge pull request #134 from chris5560/master ddns-scripts: minor updates Diffstat:
| M | net/ddns-scripts/files/etc/hotplug.d/iface/25-ddns | | | 5 | ++--- |
| M | net/ddns-scripts/files/etc/init.d/ddns | | | 4 | ++++ |
| M | net/ddns-scripts/files/usr/lib/ddns/services | | | 3 | +++ |
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/net/ddns-scripts/files/etc/hotplug.d/iface/25-ddns b/net/ddns-scripts/files/etc/hotplug.d/iface/25-ddns @@ -1,9 +1,8 @@ #!/bin/sh -. /usr/lib/ddns/dynamic_dns_functions.sh - if [ "$ACTION" = "ifup" ]; then - start_daemon_for_all_ddns_sections "$INTERFACE" + . /usr/lib/ddns/dynamic_dns_functions.sh + /etc/init.d/ddns enabled && start_daemon_for_all_ddns_sections "$INTERFACE" fi diff --git a/net/ddns-scripts/files/etc/init.d/ddns b/net/ddns-scripts/files/etc/init.d/ddns @@ -1,6 +1,10 @@ #!/bin/sh /etc/rc.common START=95 +boot() { + return 0 +} + start() { . /usr/lib/ddns/dynamic_dns_functions.sh start_daemon_for_all_ddns_sections diff --git a/net/ddns-scripts/files/usr/lib/ddns/services b/net/ddns-scripts/files/usr/lib/ddns/services @@ -63,3 +63,6 @@ # Mythic Beasts (https://www.mythic-beasts.com) Dynamic DNS "mythic-beasts.com" "http://dnsapi4.mythic-beasts.com/?domain=[USERNAME]&password=[PASSWORD]&command=REPLACE%20[DOMAIN]%2060%20A%20DYNAMIC_IP" + +# Securepoint Dynamic-DNS-Service (http://www.spdns.de) +"spdns.de" "http://[USERNAME]:[PASSWORD]@update.spdns.de/nic/update?hostname=[DOMAIN]&myip=[IP]"