Created
March 18, 2012 22:35
-
-
Save ryanmcgrath/2083217 to your computer and use it in GitHub Desktop.
Renew a DHCP lease every 4 minutes. Don't ask.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true do | |
system "ipconfig set en1 DHCP" | |
puts "Renewed DHCP Lease...\n" | |
sleep 60 * 4 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Spill it.