1d6b4b3f91
s#. %%RC_SUBR%%#. /etc/rc.subr#
26 lines
399 B
Bash
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"
|