freebsd-ports/net/widentd/files/widentd.sh.in
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00

37 lines
648 B
Bash

#!/bin/sh
# Start or stop widentd
#
# $FreeBSD$
#
# PROVIDE: widentd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
# Define these widentd_* variables in one of these files:
#
# /etc/rc.conf
# /etc/rc.conf.local
#
# e.g.
# widentd_enable="YES"
#
# see the man page at widentd(8) for
# some additional flags to set the IP address
# beeing bound to, or how to set a differernt
# fake user id beeing replied as.
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
widentd_enable=${widentd_enable-"NO"}
. /etc/rc.subr
name="widentd"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/widentd"
load_rc_config $name
run_rc_command "$1"