diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-04-14 14:30:21 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-04-14 14:30:21 +0000 |
commit | 01cb9704e1510f164e587b6c00900255c20a486a (patch) | |
tree | a268cf7ec8c64d48ee49d979dae87f1fac4b647a /net/openradius/files | |
parent | - Update to 0.9.6 (diff) |
- Install docs
- Install RC script
PR: ports/79868
Submitted by: Adam Jette <jettea46@yahoo.com> (maintainer)
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" |