mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 08:04:32 +04:00
To be consistent with other services only start via hotplug if enabled. Now full functionality of /etc/init.d/ddns enable/disable start/stop Optimization: Include script only if needed Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 lines
167 B
Bash
9 lines
167 B
Bash
#!/bin/sh
|
|
|
|
if [ "$ACTION" = "ifup" ]; then
|
|
. /usr/lib/ddns/dynamic_dns_functions.sh
|
|
/etc/init.d/ddns enabled && start_daemon_for_all_ddns_sections "$INTERFACE"
|
|
fi
|
|
|
|
|