Subversion Repositories ALCASAR

Rev

Rev 1384 | Rev 1386 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1384 Rev 1385
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1384 2014-06-12 08:00:06Z richard $ 
2
#  $Id: alcasar.sh 1385 2014-06-12 09:51:01Z richard $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 1190... Line 1190...
1190
	$SED "s?^Checks.*?Checks 6?g" /etc/freshclam.conf
1190
	$SED "s?^Checks.*?Checks 6?g" /etc/freshclam.conf
1191
	$SED "s?^NotifyClamd.*?# NotifyClamd /etc/clamd.conf?g" /etc/freshclam.conf
1191
	$SED "s?^NotifyClamd.*?# NotifyClamd /etc/clamd.conf?g" /etc/freshclam.conf
1192
	$SED "/^DatabaseMirror/i DatabaseMirror db.fr.clamav.net" /etc/freshclam.conf
1192
	$SED "/^DatabaseMirror/i DatabaseMirror db.fr.clamav.net" /etc/freshclam.conf
1193
	$SED "/^DatabaseMirror db.fr.clamav.net/i DatabaseMirror switch.clamav.net" /etc/freshclam.conf
1193
	$SED "/^DatabaseMirror db.fr.clamav.net/i DatabaseMirror switch.clamav.net" /etc/freshclam.conf
1194
	$SED "s?MaxAttempts.*?MaxAttempts 3?g" /etc/freshclam.conf
1194
	$SED "s?MaxAttempts.*?MaxAttempts 3?g" /etc/freshclam.conf
1195
# Copy of the main virus database
1195
# update now
1196
	rm -f /var/lib/clamav/*.cld # in case of old database scheme
-
 
1197
	cp -f $DIR_CONF/clamav-main.cvd /var/lib/clamav/main.cvd
-
 
1198
	/usr/bin/freshclam --no-warnings
1196
	/usr/bin/freshclam --no-warnings
1199
}
1197
}
1200
 
1198
 
1201
##################################################################################
1199
##################################################################################
1202
##			function "param_ulogd"					##
1200
##			function "param_ulogd"					##