Skip to content

Instantly share code, notes, and snippets.

@zackramjan
Created March 28, 2021 01:23
Show Gist options
  • Save zackramjan/706660eec3ecbc9c1c4e4a131f98813d to your computer and use it in GitHub Desktop.
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
#!/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