packages/net/ddns-scripts/files/etc/init.d/ddns
Christian Schoenebeck e5613b306f ddns-scripts: only start via hotplug not via boot
Hotplug script will start service for each interface.
To prevent duplicates and in general must not start on boot.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-07-27 15:52:13 +02:00

16 lines
195 B
Bash

#!/bin/sh /etc/rc.common
START=95
boot() {
return 0
}
start() {
. /usr/lib/ddns/dynamic_dns_functions.sh
start_daemon_for_all_ddns_sections
}
stop() {
killall -9 dynamic_dns_updater.sh
}