From: Felix Fietkau Date: Wed, 27 Aug 2008 21:52:44 +0000 (+0000) Subject: ddns-scripts: remove wrong comment and proto specific behavior X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=42860a37105b61b99532f6668114806a62210485;p=openwrt%2Fsvn-archive%2Farchive.git ddns-scripts: remove wrong comment and proto specific behavior SVN-Revision: 12415 --- 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 a548f0d943..4b543eb917 100644 --- a/net/ddns-scripts/files/etc/hotplug.d/iface/25-ddns +++ b/net/ddns-scripts/files/etc/hotplug.d/iface/25-ddns @@ -2,14 +2,7 @@ . /usr/lib/ddns/dynamic_dns_functions.sh -config_load "network" -config_get wan_proto "wan" "proto" - -#only start if we're bringing up wan and ppp isn't being used -#if ppp, it's better to use the /etc/ppp/ip-up.d because ip -#changes will trigger this directory to be run while only -#an interface going up or down will trigger this -if [ "$INTERFACE" = "wan" ] && [ "$ACTION" = "ifup" ] && [ "$wan_proto" != 'pppoe' ] +if [ "$INTERFACE" = "wan" ] && [ "$ACTION" = "ifup" ] then start_daemon_for_all_ddns_sections fi diff --git a/net/ddns-scripts/files/etc/ppp/ip-up.d/25-ddns b/net/ddns-scripts/files/etc/ppp/ip-up.d/25-ddns deleted file mode 100644 index 46ab72a29d..0000000000 --- a/net/ddns-scripts/files/etc/ppp/ip-up.d/25-ddns +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -. /usr/lib/ddns/dynamic_dns_functions.sh - -start_daemon_for_all_ddns_sections -