mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
5d258ed7af
- Add rc.d script PR: 94475 Submitted by: leha___pikenet.ru Approved by: maintainer timeout (44 days)
28 lines
417 B
Bash
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"
|