From: Heiko Z. <smi...@us...> - 2010-12-02 19:56:17
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv4226/scripts/scripts Modified Files: clamav Log Message: added clamav-milter to clamav init script Index: clamav =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/clamav,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- clamav 25 Jul 2005 17:16:58 -0000 1.9 +++ clamav 2 Dec 2010 19:56:10 -0000 1.10 @@ -60,8 +60,16 @@ fi echo -n "Starting $NAME: " loadproc $DAEMON $PARAMETER + if [ "$START_CLAMAV_MILTER" = "yes" ]; then + echo -n "Starting ClamAV milter: " + loadproc /usr/sbin/clamav-milter -c /etc/clamav-milter.conf + fi ;; stop) + if [ "$START_CLAMAV_MILTER" = "yes" ]; then + echo -n "Shutting down ClamAV milter: " + killproc /usr/sbin/clamav-milter + fi echo -n "Shutting down $NAME: " killproc $DAEMON ;; |