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.

26 lines
347 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. }
  10. restart() {
  11. stop
  12. sleep 1 # give time to shutdown
  13. start
  14. }
  15. start() {
  16. . /usr/lib/ddns/dynamic_dns_functions.sh
  17. start_daemon_for_all_ddns_sections
  18. }
  19. stop() {
  20. killall dynamic_dns_updater.sh 2>/dev/null
  21. }