From af5e7ff626b2227637754e25c59aa69a6c79918e Mon Sep 17 00:00:00 2001 From: KiekerJan Date: Fri, 30 Apr 2021 22:37:03 +0200 Subject: [PATCH] comment --- setup/additionals.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/additionals.sh b/setup/additionals.sh index 21ee4864..378dab84 100644 --- a/setup/additionals.sh +++ b/setup/additionals.sh @@ -38,6 +38,7 @@ tools/editconf.py /etc/rkhunter.conf \ WEB_CMD='""' \ ALLOWHIDDENDIR=/etc/.java +# Check presence of whitelist if ! grep -Fxq "SCRIPTWHITELIST=/usr/local/bin/mail" /etc/rkhunter.conf > /dev/null; then echo "SCRIPTWHITELIST=/usr/local/bin/mail" >> /etc/rkhunter.conf fi @@ -54,4 +55,3 @@ tools/editconf.py /etc/chkrootkit.conf \ # Should be last, update expected output rkhunter --propupd chkrootkit -q > /var/log/chkrootkit/log.expected -