Created
July 21, 2016 22:20
-
-
Save tylergets/e4ab5bea35ddcd6c3134503b44284165 to your computer and use it in GitHub Desktop.
University of Cincinnati requires their Safe Connect client to access their wireless, no problem. However I do have a problem with it running on my computer all the time. Here is a way to disable it. LaunchAgent is located in /Library/LaunchAgents
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ExitTimeOut</key> | |
<integer>5</integer> | |
<key>HopefullyExitsFirst</key> | |
<true/> | |
<key>KeepAlive</key> | |
<false/> | |
<key>Label</key> | |
<string>scClient</string> | |
<key>RunAtLoad</key> | |
<false/> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Applications/SafeConnect.app/Contents/MacOS/scClient</string> | |
</array> | |
<key>WorkingDirectory</key> | |
<string>/Applications/SafeConnect.app/Contents/MacOS/</string> | |
</dict> | |
</plist> |
This file contains 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
#Use "startsc" and "quitsc" from terminal. | |
#These work well in ~/.bash_profile ;) | |
alias startsc="sudo launchctl load -w /Library/LaunchAgents/Safe.Connect.client.plist; open -a '/Applications/SafeConnect.app/Contents/MacOS/scClient'" | |
alias quitsc="osascript -e 'tell application \"SafeConnect.app\" to quit';sudo launchctl unload -w /Library/LaunchAgents/Safe.Connect.client.plist" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment