Skip to content

Instantly share code, notes, and snippets.

View email-dyndns.sh
#!/bin/bash
# Send an e-mail with your IP address if it has changed
set +e
old_ipaddr=$(cat /tmp/ipv4.log)
set -e
get_ipv4()
{