Browse Source

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>
Christian Schoenebeck 10 years ago
parent
commit
e5613b306f
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      net/ddns-scripts/files/etc/init.d/ddns

+ 4
- 0
net/ddns-scripts/files/etc/init.d/ddns View File

@@ -1,6 +1,10 @@
1 1
 #!/bin/sh /etc/rc.common
2 2
 START=95
3 3
 
4
+boot() {
5
+	return 0
6
+}
7
+
4 8
 start() {
5 9
 	. /usr/lib/ddns/dynamic_dns_functions.sh
6 10
 	start_daemon_for_all_ddns_sections