965,6 → 965,9 |
# ajout de la fonction 'status' (utile pour la gestion du process) |
$SED "/^HAVP_BIN=/i. /etc/init.d/functions" /etc/init.d/havp |
$SED "s?^[\t ]*echo \"Checking for.*?status havp?g" /etc/init.d/havp |
# on remplace la page d'interception (template) |
cp -f $DIR_CONF/virus-fr.html /etc/havp/templates/fr/virus.html |
cp -f $DIR_CONF/virus-en.html /etc/havp/templates/en/virus.html |
# mise à jour de la base antivirale de clamav toutes les 2 heures |
$SED "s?^Checks.*?Checks 12?g" /etc/freshclam.conf |
$SED "s?^NotifyClamd.*?# NotifyClamd /etc/clamd.conf?g" /etc/freshclam.conf |