mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
c49d1a3273
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.
38 lines
632 B
Bash
38 lines
632 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: radmind
|
|
# REQUIRE: DAEMON
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable radmind:
|
|
#
|
|
#radmind_enable="YES"
|
|
#
|
|
# You may also override the default flags:
|
|
#
|
|
#radmind_flags="-D /var/radmind -m 5 -u 077 -Llocal7 -w 0"
|
|
#
|
|
# See radmind(8) for flags
|
|
#
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name=radmind
|
|
rcvar=`set_rcvar`
|
|
|
|
command=%%PREFIX%%/sbin/radmind
|
|
command_args=""
|
|
required_files=%%RADMIND_BASE_DIR%%/config
|
|
|
|
# set defaults
|
|
|
|
radmind_enable=${radmind_enable:-"NO"}
|
|
radmind_flags=${radmind_flags:-"-D %%RADMIND_BASE_DIR%% -m 5 -u 077 -Llocal7 -w 0"}
|
|
|
|
load_rc_config ${name}
|
|
run_rc_command "$1"
|