#!/bin/sh
#
# decimator
#

DECIMATOR=/sbin/decimator

case "$1" in
	start)
		echo "Starting decimator..."
		$DECIMATOR -D
		;;
	stop)
		echo "Stopping decimator..."
		killall decimator
		;;
	restart|reload)
		"$0" stop
		"$0" start
		;;
	*)
		echo "Usage: $0 {start|stop|restart}"
		exit 1
esac

exit $?


