mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
ddns: Allow running ddns using the /etc/init.d/ddns script
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user