freebsd-ports/security/scanlogd/files/scanlogd.sh
Volker Stolz 0ede75f1dd Fix path to scanlogd in rc-script (bump PORTREV)
PR:		ports/75034
Submitted by:	Hilko Meyer
Approved by:	maintainer
2004-12-15 08:04:56 +00:00

26 lines
477 B
Bash

#!/bin/sh
# Start or stop scanlogd
# $FreeBSD$
# PROVIDE: scanlogd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD 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"