Created
April 13, 2012 19:51
-
-
Save rockpapergoat/2379640 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/sh | |
| # only works on SL | |
| /bin/launchctl unload -S Aqua /System/Library/LaunchAgents/com.apple.mrt.uiagent.plist | |
| /bin/launchctl load -w -S Aqua /System/Library/LaunchAgents/com.apple.mrt.uiagent.plist | |
| # only works on Lion | |
| /bin/launchctl asuser `id -u "$USER"` /bin/launchctl unload -S Aqua /System/Library/LaunchAgents/com.apple.mrt.uiagent.plist | |
| /bin/launchctl asuser `id -u "$USER"` /bin/launchctl load -w -S Aqua /System/Library/LaunchAgents/com.apple.mrt.uiagent.plist | |
| /bin/launchctl unload /System/Library/LaunchDaemons/com.apple.mrt.plist | |
| /bin/launchctl load -w /System/Library/LaunchDaemons/com.apple.mrt.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/bin/launchctl asuser
id -u "$USER"/bin/launchctl load -w -S Aqua /System/Library/LaunchAgents/com.apple.mrt.uiagent.plistworking