Created
March 28, 2021 01:23
-
-
Save zackramjan/706660eec3ecbc9c1c4e4a131f98813d to your computer and use it in GitHub Desktop.
This will disable and stop all mac cisco services such as Ice Anyconnect etc
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
#!/bin/bash | |
FILES=/Library/LaunchAgents/com.cisco* | |
launchctl list |grep cisco | |
for f in $FILES | |
do | |
echo launchctl unload -w $f | |
launchctl unload -w $f | |
sudo launchctl unload -w $f | |
done | |
FILES=/Library/LaunchDaemons/com.cisco* | |
launchctl list |grep cisco | |
for f in $FILES | |
do | |
echo launchctl unload -w $f | |
launchctl unload -w $f | |
sudo launchctl unload -w $f | |
done | |
launchctl list |grep cisco | |
sudo launchctl list |grep cisco |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment