Created
March 11, 2014 06:33
-
-
Save fakemelvynkim/9480636 to your computer and use it in GitHub Desktop.
Editing launchd in two ways
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 | |
# | |
# FIRST | |
# | |
# To load what's loading via launchd | |
launchctl list | |
# To kill and remove process from the list, | |
# launchctl remove name.of.process | |
# | |
# SECOND | |
# | |
# Kill all items in the process list by deleting | |
# rm /System/Library/LaunchDaemons/name.of.process.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment