You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
357 B

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