smeserver-clamav/root/etc/yum/post-actions/clamd.action

8 lines
341 B
Plaintext

#action to avoid freshclam from cron
clamav-update:any:/usr/bin/rm -f /etc/cron.d/clamav-update
#old freshclam
clam*:any:/usr/bin/rm -f /etc/cron.daily/freshclam
#avoid config not needed
clamav-filesystem:any:/sbin/e-smith/expand-template /etc/clamd.d/scan.conf
clamav-update:any:/sbin/e-smith/expand-template /etc/logrotate.d/clamav-update