summaryrefslogtreecommitdiff
path: root/net/scand/files/scand.in
blob: fb57b847fc00170ad5a2ef959452bc8cd1f1ff5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: scand
# REQUIRE: DAEMON
#
# Add the following line to /etc/rc.conf to enable scand:
#
# scand_enable="YES"
#

. %%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"