JR fixed the script

There was a extra " on line 6 after the = that was throwing things off
and the sed command for "ip addr" had the quote after $TMPFILE not
after the sed search.