Marius Stan wrote:
>deci:
>
># cat /etc/cron.daily/freshclam
>/bin/touch -a /var/lib/clamav/*.cvd
>/usr/sbin/tmpwatch 72 /var/lib/clamav
>
>prima linie schimba access time-ul
>
>
--pt fisierele *cvd
>a doua sterge fisiere neaccesate in 72 de ore
>
>1. cum poate sa le stearga daca de-abia le-a schimbat data ?
>
>
poate sterge altceva decit cvd?
>2. unde se face update-ul de semnaturi la clamav, ca de aici sigur nu ?
>
>
la mine e un pic diferit
[root]# cat /etc/cron.daily/freshclam
#!/bin/sh
### A simple update script for the clamav virus database.
### This could as well be replaced by a SysV script.
### fix log file if needed
LOG_FILE="/var/log/clamav/freshclam.log"
if [ ! -f "$LOG_FILE" ]; then
touch "$LOG_FILE"
chmod 644 "$LOG_FILE"
chown clamav.clamav "$LOG_FILE"
fi
/usr/bin/freshclam \
--quiet \
--datadir="/var/clamav" \
--log="$LOG_FILE" \
--log-verbose \
--daemon-notify="/etc/clamav.conf"
--
Atena 2004, boxing analyst: "Sure there have been injuries, and even some deaths in
boxing, but none of them really that serious."
---
Detalii despre listele noastre de mail: http://www.lug.ro/