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/bash | |
# | |
# Watch download directory and scan downloaded files with ClamAV | |
# | |
# Check if works by downloading: | |
# https://secure.eicar.org/eicar_com.zip | |
# | |
# Original script by Fitzcarraldo | |
# https://fitzcarraldoblog.wordpress.com/2016/02/20/\ | |
# automatically-detecting-files-placed-in-my-downloads-directory-in-\ |
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/bash | |
# sync-entropy-files.sh | |
# Copyright Reuben D'Netto 2014. Published under Apache 2.0 license. | |
# This script updates the portage files used in Sabayon so that entropy and portage don't step on each other's feet | |
BUILD_DIR="/var/cache/sabayon-build" | |
ARCH=$(uname -m) | |
[[ "$ARCH" == "i686" || "$ARCH" == "x86_64" ]] && ARCH="intel" |