1) adminGroup: Moderators Posts: 61Joined: 10 Feb 2021Location: SouthportIP: 212.159.---
Posted:
#!/bin/sh recipients="you@yourdomain.com" ip="`wget -O - http://dynupdate.no-ip.com/ip.php 2>/dev/null`" mail -s "`hostname -f` now at $ip" $recipients <<EOF As of `date` the external IP of `hostname -f` is $ip EOF