I will use my line then:
MYIP=`curl -s
IP Chicken - What is my IP? Find Your IP Address! | awk '/[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*/ {print $1}'`
I know it works.
But I have another question:
LOG=/your/log/path/ip <= where is that folder? can i make one up?
OLD_IP=`cat $LOG` <= again, is that a folder? a file?
Thanks for the quick reply