ddns-scripts: only start via hotplug not via boot
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>
Sun, 27 Jul 2014 13:52:13 +0000 (15:52 +0200)
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>
Sun, 27 Jul 2014 13:52:13 +0000 (15:52 +0200)
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>
net/ddns-scripts/files/etc/init.d/ddns

index 3171d5ae924f43e5686072c87a37212f2dd42acd..1194543cbac3f3d3c15e6bf9c263835ab96234e7 100644 (file)
@@ -1,6 +1,10 @@
 #!/bin/sh /etc/rc.common
 START=95
 
+boot() {
+       return 0
+}
+
 start() {
        . /usr/lib/ddns/dynamic_dns_functions.sh
        start_daemon_for_all_ddns_sections