mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 08:04:32 +04:00
Backport of current version 2.7.6-10 - more services - more functionality - be prepared for next versions compiled ipk-packages available at https://github.com/chris5560/OpenWrt-Backports/tree/master/for-CC15.05.01/ddns-scripts_2.7.6-10 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
28 lines
405 B
Bash
28 lines
405 B
Bash
#!/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
|
|
}
|