#!/bin/sh
#
# $FreeBSD: ports/mail/vbsfilter/files/vbsfilter.sh.in,v 1.1 2005/04/26 08:34:13 vs Exp $
# 
if ! test -x /usr/local/libexec/vbsfilter
then
	exit 0
fi
case "$1" in
start)
	rm -f /var/run/vbsfilter
	/usr/local/libexec/vbsfilter -p local:/var/run/vbsfilter &&
	echo -n ' vbsfilter'
	;;
stop)
	killall vbsfilter
	rm -f /var/run/vbsfilter
	;;
*)
	echo "Usage: ${0##*/}: { start | stop }" >&2
	exit 64
	;;
esac


syntax highlighted by Code2HTML, v. 0.9.1