Signed-off-by: Florian Eckert <fe@dev.tdt.de>
$(1)/etc/hotplug.d/iface/95-ddns
$(INSTALL_DIR) $(1)/etc/init.d
- $(INSTALL_BIN) ./files/ddns.init \
+ $(INSTALL_BIN) ./files/etc/init.d/ddns \
$(1)/etc/init.d/ddns
$(INSTALL_DIR) $(1)/etc/config
+++ /dev/null
-#!/bin/sh /etc/rc.common
-START=95
-STOP=10
-
-boot() {
- return 0
-}
-
-reload() {
- /usr/lib/ddns/dynamic_dns_updater.sh -- reload
- return 0
-}
-
-restart() {
- /usr/lib/ddns/dynamic_dns_updater.sh -- stop
- sleep 1 # give time to shutdown
- /usr/lib/ddns/dynamic_dns_updater.sh -- start
-}
-
-start() {
- /usr/lib/ddns/dynamic_dns_updater.sh -- start
-}
-
-stop() {
- /usr/lib/ddns/dynamic_dns_updater.sh -- stop
- return 0
-}
--- /dev/null
+#!/bin/sh /etc/rc.common
+START=95
+STOP=10
+
+boot() {
+ return 0
+}
+
+reload() {
+ /usr/lib/ddns/dynamic_dns_updater.sh -- reload
+ return 0
+}
+
+restart() {
+ /usr/lib/ddns/dynamic_dns_updater.sh -- stop
+ sleep 1 # give time to shutdown
+ /usr/lib/ddns/dynamic_dns_updater.sh -- start
+}
+
+start() {
+ /usr/lib/ddns/dynamic_dns_updater.sh -- start
+}
+
+stop() {
+ /usr/lib/ddns/dynamic_dns_updater.sh -- stop
+ return 0
+}