diff options
Diffstat (limited to 'net/openradius/files')
-rw-r--r-- | net/openradius/files/openradiusd.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/openradius/files/openradiusd.sh b/net/openradius/files/openradiusd.sh new file mode 100644 index 000000000000..d4879ff992de --- /dev/null +++ b/net/openradius/files/openradiusd.sh @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: radiusd +# REQUIRE: DAEMON +# KEYWORD: FreeBSD +# +# Add the following line to /etc/rc.conf to enable radiusd: +# +# radiusd_enable="YES" +# + +radiusd_enable=${radiusd_enable-"NO"} +radiusd_flags=${radiusd_flags-"-o %%LOGFILE%%"} + +. /etc/rc.subr + +name=radiusd +rcvar=`set_rcvar` + +command=%%PREFIX%%/sbin/${name} + +load_rc_config ${name} +run_rc_command "$1" |