freebsd-ports/net/widentd/files/widentd.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

38 lines
665 B
Bash

#!/bin/sh
# Start or stop widentd
#
# $FreeBSD$
#
# PROVIDE: widentd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
#
prefix=%%PREFIX%%
# 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"}
. %%RC_SUBR%%
name="widentd"
rcvar=`set_rcvar`
command="${prefix}/sbin/widentd"
load_rc_config $name
run_rc_command "$1"