Created
June 12, 2011 16:02
-
-
Save pajp/1021702 to your computer and use it in GitHub Desktop.
Disable real-time scanning on F-Secure Anti-Virus for Mac
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/sh -e | |
# Running this script will disable the on-access (real-time) scanner in F-Secure Anti-Virus for Mac | |
# while preserving the ability to use the on-demand (manual) scanner. | |
# | |
# Note that this *will* make the UI persistently tell you that there is a problem with real-time | |
# scanning. Which is true, because you disabled it. :-) | |
# | |
# NOTE THAT THIS WILL MAKE YOUR COMPUTER UNPROTECTED. DO THIS AT YOUR OWN RISK! | |
# NOTE THAT THIS WILL MAKE A BACKUP COPY IN YOUR "Documents" FOLDER. KEEP IT. | |
# NOTE THAT THIS IS AN UNSUPPORTED HACK. IT MAY STOP WORKING AT ANY TIME. | |
# | |
# To restore on-access (real-time) scanning, use https://gist.github.com/1021705 | |
cp /Library/LaunchDaemons/com.f-secure.fsavd.plist ~/Documents | |
sudo sed -i -e 's/<string>--oas=incoming<\/string>//' /Library/LaunchDaemons/com.f-secure.fsavd.plist | |
sudo launchctl unload /Library/LaunchDaemons/com.f-secure.fsavd.plist | |
sudo launchctl load /Library/LaunchDaemons/com.f-secure.fsavd.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment