My current iTunes rsync backup script

The other day I was looking for a backup solution for two laptops. While I was unable to get the exact results I was looking for I did create a nice bash script that detects the network, and if on my local network it will mount the share from my Airport Extreme and then rsync the data over.  I am sure there is plenty of room for improvement on this script, but it works quite well.