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>
lilik-openwrt-22.03
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 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
START=95 START=95
boot() {
return 0
}
start() { start() {
. /usr/lib/ddns/dynamic_dns_functions.sh . /usr/lib/ddns/dynamic_dns_functions.sh
start_daemon_for_all_ddns_sections start_daemon_for_all_ddns_sections


Loading…
Cancel
Save