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

28 lines
511 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: openradius
# REQUIRE: DAEMON
#
# Add the following line to /etc/rc.conf to enable openradius:
#
# openradius_enable (bool): Set to "YES" to enable openradius.
# Default is "NO".
# openradius_flags (flags); Set extra flags to openradius.
# Default is "-o %%LOGFILE%%".
#
. %%RC_SUBR%%
name="openradius"
rcvar=`set_rcvar`
load_rc_config ${name}
: ${openradius_enable="NO"}
: ${openradius_flags="-o %%LOGFILE%%"}
command=%%PREFIX%%/sbin/radiusd
run_rc_command "$1"