Skip to content

Instantly share code, notes, and snippets.

@10sr
Last active December 23, 2015 21:29
Show Gist options
  • Select an option

  • Save 10sr/6696565 to your computer and use it in GitHub Desktop.

Select an option

Save 10sr/6696565 to your computer and use it in GitHub Desktop.
#!/bin/sh
set -e
curl http://ipv4.mydns.jp/login.html --basic --user username:password >/dev/null 2>&1
logger -t "`basename $0`" "Updating ipv4.mydns.jp succeeded"
@10sr
Copy link
Author

10sr commented Feb 2, 2014

FreeBSD なら /etc/periodic/daily/900.regtomydns.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment