Created
October 26, 2013 04:41
-
-
Save anonymous/7165341 to your computer and use it in GitHub Desktop.
ShellScript to workaround the problem that happens with VirtualBox on Mac OS X 10.9 called Mavericks. Run this after you close your VM.
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
#!/bin/bash | |
unload() { | |
sudo killall VBoxNetDHCP | |
sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh stop | |
} | |
load() { | |
sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh start | |
} | |
case "$1" in | |
unload|remove) | |
unload | |
;; | |
load) | |
load | |
;; | |
*|reload) | |
unload | |
load | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment