[ClamAV] Add whitelist file for ClamAV, fixes #1607

[ACME] Test for CAA before running script, fixes #1632
This commit is contained in:
André
2018-08-05 22:35:02 +02:00
parent 73f880ffba
commit ff0b9246b5
2 changed files with 29 additions and 1 deletions

View File

@@ -14,6 +14,10 @@ chown root:tty /dev/console
chmod g+rw /dev/console
# Prepare
[[ ! -f /var/lib/clamav/whitelist.ign2 ]] && touch /var/lib/clamav/whitelist.ign2
dos2unix /var/lib/clamav/whitelist.ign2
sed -i '/^\s*$/d' /var/lib/clamav/whitelist.ign2
BACKGROUND_TASKS=()
(