#!/bin/sh
#
# This is file /etc/rc.d/init.d/junkbuster and was put here 
# by the junkbuster rpm
#
# junkbuster  This shell script takes care of starting and stopping
#             junkbuster.
#

# Source function library.
. /etc/rc.d/init.d/functions

[ -f /usr/sbin/junkbuster ] || exit 0

# See how we were called.
case "$1" in
	start)
		#
		#
                echo -n "Starting junkbuster:"

		/usr/sbin/junkbuster /etc/junkbuster/config &
                echo ... done.
		;;
	stop)
		# Stop daemon.
		echo -n "Shutting down junkbuster: "
		killproc junkbuster
		echo ... done.
		;;
	*)
		echo "Usage: junkbuster {start|stop}"
		exit 1
esac

exit 0
