Нема описа

1234567891011121314
  1. #!/bin/sh
  2. # there are other ACTIONs like ifupdate we don't need
  3. # so parse dynamic_dns_functions.sh only when needed
  4. case "$ACTION" in
  5. ifup)
  6. . /usr/lib/ddns/dynamic_dns_functions.sh
  7. /etc/init.d/ddns enabled && start_daemon_for_all_ddns_sections "$INTERFACE"
  8. ;;
  9. ifdown)
  10. . /usr/lib/ddns/dynamic_dns_functions.sh
  11. stop_daemon_for_all_ddns_sections "$INTERFACE"
  12. ;;
  13. esac