diff options
Diffstat (limited to 'net/scand/files/scand.in')
-rw-r--r-- | net/scand/files/scand.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net/scand/files/scand.in b/net/scand/files/scand.in new file mode 100644 index 000000000000..4f76ffb29494 --- /dev/null +++ b/net/scand/files/scand.in @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: scand +# REQUIRE: DAEMON +# KEYWORD: FreeBSD +# +# 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" |