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
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.