浏览代码

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 年前
父节点
当前提交
e5613b306f
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      net/ddns-scripts/files/etc/init.d/ddns

+ 4
- 0
net/ddns-scripts/files/etc/init.d/ddns 查看文件

@@ -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