freebsd-ports/net/scand/files/scand.in
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00

26 lines
399 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: scand
# REQUIRE: DAEMON
#
# Add the following line to /etc/rc.conf to enable scand:
#
# scand_enable="YES"
#
. /etc/rc.subr
name=scand
rcvar=${name}_enable
load_rc_config $name
: ${scand_enable="NO"}
: ${scand_flags="-p 9999 -B /var/net/log/block -o '5 5 3' -W '140 140 140'"}
command="/usr/local/bin/scand"
command_args=" > /dev/null"
run_rc_command "$1"