1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/net/scand/files/scand.in
Marcus Alves Grando 5d258ed7af - Update to 0.14
- Add rc.d script

PR:		94475
Submitted by:	leha___pikenet.ru
Approved by:	maintainer timeout (44 days)
2006-04-29 19:45:25 +00:00

28 lines
417 B
Bash

#!/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"