ports/security/scanlogd/files/scanlogd.sh
Doug Barton c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00

26 lines
469 B
Bash

#!/bin/sh
# Start or stop scanlogd
# $FreeBSD$
# PROVIDE: scanlogd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
#
prefix=%%PREFIX%%
scanlogd_enable=${scanlogd_enable:-"NO"} # Enable scanlogd
scanlogd_program="${prefix}/bin/scanlogd" # Location of scanlogd
scanlogd_flags=${scanlogd_flags:-""} # Flags to scanlogd
. %%RC_SUBR%%
name="scanlogd"
rcvar=`set_rcvar`
command="${prefix}/bin/${name}"
required_files=""
load_rc_config $name
run_rc_command "$1"