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>
8 lines
167 B
Bash
8 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
|
|
|
|
|