ddns: Allow running ddns using the /etc/init.d/ddns script

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos 2014-06-08 14:05:23 +02:00
parent ced8b84f1c
commit f7d0b83aef
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ start_daemon_for_all_ddns_sections()
do
local iface
config_get iface "$section" interface "wan"
[ "$iface" = "$event_interface" ] || continue
[ -z "$event_interface" -o "$iface" = "$event_interface" ] || continue
/usr/lib/ddns/dynamic_dns_updater.sh $section 0 > /dev/null 2>&1 &
done
}