#!/bin/sh
# description: Start Flow-Capture
# chkconfig: 2345 95 00

case "$1" in
'start')

/usr/local/netflow/bin/flow-capture -w /var/netflow/ft 0/0/2055 -S5 -V5 -E1G -n 287 -N 0 -R /usr/local/netflow/bin/linkme
touch /var/lock/subsys/startflows
;;
'stop')

killall -9 /usr/local/netflow/bin/flow-capture
rm -f /var/lock/subsys/startflows
;;

*)

echo "Usage: $0 { start | stop }"
;;

esac
exit 0
