summaryrefslogtreecommitdiff
path: root/net/freeradius/files
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2005-02-09 09:14:26 +0000
committerseb <seb@pkgsrc.org>2005-02-09 09:14:26 +0000
commit5a4704d0795fd7a440f344435b658af10d6cbf4f (patch)
tree56eb289e1d741747fb020a56f4272d448a380244 /net/freeradius/files
parent89a62bff9f01babbc55bd1e2d23b169f76318ef9 (diff)
downloadpkgsrc-5a4704d0795fd7a440f344435b658af10d6cbf4f.tar.gz
Obey PKG_SYSCONFBASEDIR.
Fix the rc.d script: add rcvar definition and no need to source /etc/rc.subr twice. Bump PKGREVISION to 7.
Diffstat (limited to 'net/freeradius/files')
-rw-r--r--net/freeradius/files/radiusd.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/freeradius/files/radiusd.sh b/net/freeradius/files/radiusd.sh
index afb6b678379..5c2eadeacaf 100644
--- a/net/freeradius/files/radiusd.sh
+++ b/net/freeradius/files/radiusd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: radiusd.sh,v 1.4 2004/12/22 10:07:21 adrianp Exp $
+# $NetBSD: radiusd.sh,v 1.5 2005/02/09 09:14:26 seb Exp $
#
# PROVIDE: radiusd
# REQUIRE: network
@@ -12,6 +12,7 @@ then
fi
name="radiusd"
+rcvar=${name}
command="@PREFIX@/sbin/radiusd"
pidfile="@VARBASE@/run/radiusd/radiusd.pid"
start_precmd="radiusd_precmd"
@@ -27,8 +28,6 @@ radiusd_precmd()
if [ -f /etc/rc.subr ]
then
- . /etc/rc.subr
-
load_rc_config $name
run_rc_command "$1"
else