mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44: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
8 lines
166 B
Bash
8 lines
166 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
|
|
|