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.

11 lines
323 B

  1. #!/bin/sh
  2. # there are other ACTIONs like ifupdate we don't need
  3. case "$ACTION" in
  4. ifup) # OpenWrt is giving a network not phys. Interface
  5. /etc/init.d/ddns enabled && /usr/lib/ddns/dynamic_dns_updater.sh -n "$INTERFACE" -- start
  6. ;;
  7. ifdown)
  8. /usr/lib/ddns/dynamic_dns_updater.sh -n "$INTERFACE" -- stop
  9. ;;
  10. esac