mirror of https://github.com/openwrt/packages.git
ddns: Allow running ddns using the /etc/init.d/ddns script
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>pull/6/head
parent
ced8b84f1c
commit
f7d0b83aef
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue