freebsd-ports/net/openradius/files/openradius.in
Chris Hutchinson dee466c071 net/openradius: update to 0.9.14
Update WWW and MASTER_SITES.
Pet portlint, portfmt, portclippy.

Changelog: https://codeberg.org/BSDforge/openradius/src/branch/main/CHANGELOG

PR:		277588
Approved by:	submitter is maintainer
2024-08-15 06:50:56 +02:00

27 lines
516 B
Bash

#!/bin/sh
# PROVIDE: openradius
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# 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%%".
#
. /etc/rc.subr
name=openradius
rcvar=openradius_enable
load_rc_config $name
: ${openradius_enable:=NO}
: ${openradius_flags=-o %%LOGFILE%%}
command=%%PREFIX%%/sbin/radiusd
run_rc_command "$1"