0ede75f1dd
PR: ports/75034 Submitted by: Hilko Meyer Approved by: maintainer
26 lines
477 B
Bash
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"
|