#!/bin/sh
#
# $FreeBSD: ports/net-mgmt/fprobe/files/fprobe.sh.in,v 1.1 2006/11/24 07:23:24 clsung Exp $
#
# PROVIDE: fprobe
# REQUIRE: NETWORKING
# KEYWORD: shutdown

# Add the following lines to /etc/rc.conf to enable fprobe:
#
#fprobe_enable="YES"
#
# See fprobe(8) for fprobe_flags
#

. "/etc/rc.subr"

name="fprobe"
rcvar=`set_rcvar`

command="/usr/local/sbin/fprobe"
command_args="-i lo0 127.0.0.1:2055"
pidfile="/var/run/$name.pid"

load_rc_config "$name"
: ${fprobe_enable="NO"}

run_rc_command "$1"
