[IMPORTANT] If you run Ubuntu 16.04, upgrade your kernel to linux-generic-hwe-16.04

[ClamAV] Remove deprecated parameter
master
andryyy 2019-12-05 14:27:51 +01:00
parent b7a749208d
commit 7e2aa42578
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 8 additions and 1 deletions

View File

@ -41,7 +41,6 @@ MaxScanSize 50M
MaxFileSize 25M MaxFileSize 25M
MaxRecursion 5 MaxRecursion 5
MaxFiles 200 MaxFiles 200
ScanOnAccess no
Bytecode yes Bytecode yes
BytecodeSecurity TrustSigned BytecodeSecurity TrustSigned
BytecodeTimeout 1000 BytecodeTimeout 1000

View File

@ -12,6 +12,14 @@ if [[ "$(uname -r)" =~ ^4\.15\.0-60 ]]; then
exit 1 exit 1
fi fi
if [[ "$(uname -r)" =~ ^4\.4\. ]]; then
if grep -q Ubuntu <<< $(uname -a); then
echo "DO NOT RUN mailcow ON THIS UBUNTU KERNEL!";
echo "Please update to linux-generic-hwe-16.04 by running \"apt-get install --install-recommends linux-generic-hwe-16.04\""
fi
exit 1
fi
# Exit on error and pipefail # Exit on error and pipefail
set -o pipefail set -o pipefail