Skip to content

Instantly share code, notes, and snippets.

@mockee
Created October 24, 2013 03:11
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 mockee/7130704 to your computer and use it in GitHub Desktop.
Save mockee/7130704 to your computer and use it in GitHub Desktop.
on run {input, parameters}
do shell script "sudo /Library/StartupItems/VirtualBox/VirtualBox restart" password "password" with administrator privileges
return input
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment