#!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v 1.17 2009/06/21 09:46:12 dertobi123 Exp $ depend() { need antivirus use samba } start() { ebegin "Starting scannedonlyd_clamav" start-stop-daemon --start --quiet \ --exec /usr/sbin/scannedonlyd_clamav -- ${SCANNEDONLY_OPTS} eend $? "Failed to start scannedonlyd_clamav" } stop() { ebegin "Stopping scannedonlyd_clamav" start-stop-daemon --stop --quiet --name scannedonlyd_clamav eend $? "Failed to stop scannedonlyd_clamav" }