diff --git a/net/ddns-scripts/files/etc/hotplug.d/iface/25-ddns b/net/ddns-scripts/files/etc/hotplug.d/iface/25-ddns index 4495b5d85..dab2385cb 100644 --- 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