dyndns-update.sh 235 B

12345678910
  1. #!/bin/bash
  2. set -e
  3. uci -q get superglue.dyndns.disabled && exit 1
  4. uci -q get superglue.dyndns.domainname || exit 1
  5. _UPDATEURL=$(uci get superglue.dyndns.updateurl)
  6. /usr/bin/wget -q "${_UPDATEURL}" -O - >> /www/log/dyndns.log
  7. exit 0