ddns: Allow running ddns using the /etc/init.d/ddns script
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
parent
ced8b84f1c
commit
f7d0b83aef
|
@ -131,7 +131,7 @@ start_daemon_for_all_ddns_sections()
|
||||||
do
|
do
|
||||||
local iface
|
local iface
|
||||||
config_get iface "$section" interface "wan"
|
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 &
|
/usr/lib/ddns/dynamic_dns_updater.sh $section 0 > /dev/null 2>&1 &
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue