Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 432 Bytes

Place this directory in /Library/StartupItems and chown -R root:wheel it. I also renamed the directory VBoxHeadless on my system, but I'm not convinced that's necessary.

This approach uses a "deprecated interface," but MacOS doesn't seem to give us another reasonable way to run something at system shutdown.