Skip to content

Instantly share code, notes, and snippets.

@bilbof
Created March 17, 2016 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bilbof/9df2231542f26768384f to your computer and use it in GitHub Desktop.
Save bilbof/9df2231542f26768384f to your computer and use it in GitHub Desktop.
Fixing DCHP lease connection
while :
do
echo "add State:/Network/Interface/en0/RefreshConfiguration temporary" | sudo scutil
echo "refresh"
sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment