only start via hotplug not via boot
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>
Tue, 16 Sep 2014 03:20:52 +0000 (05:20 +0200)
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>
Tue, 16 Sep 2014 03:20:52 +0000 (05:20 +0200)
Hotplug script will start service for each interface.
To prevent duplicates and in general must not start on boot.

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