Instantly share code, notes, and snippets.

Embed
What would you like to do?
login and log out hooks
sudo defaults write com.apple.loginwindow LoginHook /location/of/the/script.sh
sudo defaults write com.apple.loginwindow LogoutHook /Library/ETS/macrenamer.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment