1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/net/binkd/files/binkd.sh.in
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

33 lines
693 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: binkd
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Define these binkd_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
# /etc/rc.conf.d/apache
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
binkd_enable=${binkd_enable:-"NO"}
binkd_config=${binkd_config:-"%%PREFIX%%/etc/binkd.cfg"}
binkd_flags=${binkd_flags:-"-D"}
binkd_user=${binkd_user:-"fido"}
binkd_pidfile=${binkd_pidfile:-"/var/run/binkd/binkd.pid"}
. %%RC_SUBR%%
load_rc_config binkd
name="binkd"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/binkd"
command_args="${binkd_config}"
required_files="${binkd_config}"
pidfile="${binkd_pidfile}"
run_rc_command "$1"