BASH script for detecting and notifying public IP address