kikenn
sTime = Time.now
until chkip=`curl -ss checkip.dyndns.com`.match(/Current\sIP\sAddress:\s(#{IP_Regex})/) or (Time.now-sTime)>3*60 do sleep 1 end
sTime = Time.now
until chkip=`curl -ss checkip.dyndns.com`.match(/Current\sIP\sAddress:\s(#{IP_Regex})/) or (Time.now-sTime)>3*60 do sleep 1 end