Skip to content

Instantly share code, notes, and snippets.

@ryanmcgrath
Created March 18, 2012 22:35
Show Gist options
  • Save ryanmcgrath/2083217 to your computer and use it in GitHub Desktop.
Save ryanmcgrath/2083217 to your computer and use it in GitHub Desktop.
Renew a DHCP lease every 4 minutes. Don't ask.
while true do
system "ipconfig set en1 DHCP"
puts "Renewed DHCP Lease...\n"
sleep 60 * 4
end
@mattgorecki
Copy link

Spill it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment