freebsd-ports/net/binkd/files/binkd.in
Doug Barton 9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00

32 lines
695 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"}
. /etc/rc.subr
load_rc_config binkd
name="binkd"
rcvar=binkd_enable
command="%%PREFIX%%/sbin/binkd"
command_args="${binkd_config}"
required_files="${binkd_config}"
pidfile="${binkd_pidfile}"
run_rc_command "$1"