ddns.init 405 B

123456789101112131415161718192021222324252627
  1. #!/bin/sh /etc/rc.common
  2. START=95
  3. STOP=10
  4. boot() {
  5. return 0
  6. }
  7. reload() {
  8. /usr/lib/ddns/dynamic_dns_updater.sh -- reload
  9. return 0
  10. }
  11. restart() {
  12. /usr/lib/ddns/dynamic_dns_updater.sh -- stop
  13. sleep 1 # give time to shutdown
  14. /usr/lib/ddns/dynamic_dns_updater.sh -- start
  15. }
  16. start() {
  17. /usr/lib/ddns/dynamic_dns_updater.sh -- start
  18. }
  19. stop() {
  20. /usr/lib/ddns/dynamic_dns_updater.sh -- stop
  21. return 0
  22. }