diff --git a/install.sh b/install.sh index 32fdb2b..7dfb179 100755 --- a/install.sh +++ b/install.sh @@ -73,6 +73,10 @@ cd /tmp/yay && makepkg -si printf "Installing yay packages" yay -S ttf-ms-fonts +printf "Configure ClamAV OnAccess" +printf "OnAccessIncludePath /home/$USERNAME/\nOnAccessIncludePath /home/$USERNAME/\nOnAccessPrevention yes\nTemporaryDirectory /clamav/tmp" | tee -a /etc/clamav/clamd.conf +sed -i '/^ExecStart=/ s/$/ --fdpass/' /etc/systemd/system/clamav-onacc.service + printf "Configuring users..." echo -n "root:$ROOT_PASS" | chpasswd