Skip to content

Instantly share code, notes, and snippets.

@iskigow
Forked from anonymous/wa_vb_osx_mav.sh
Created October 26, 2013 04:43
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 iskigow/7165348 to your computer and use it in GitHub Desktop.
Save iskigow/7165348 to your computer and use it in GitHub Desktop.
#!/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
@iskigow
Copy link
Author

iskigow commented Jan 17, 2014

With the new version of VirtualBox this script won't be necessary!

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