diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-04-29 19:45:25 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-04-29 19:45:25 +0000 |
commit | 5d258ed7af10ee8c769e1d089424db2f88c3e61e (patch) | |
tree | 9cd8d00dfe3f4039ad93896eec8acede5f05c995 /net/scand/files/scand.in | |
parent | 0e63472ec7e47f6fed1a2f961a0f845130f6aca5 (diff) |
Notes
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" |