aboutsummaryrefslogtreecommitdiff
path: root/net/gnu-radius/files
diff options
context:
space:
mode:
authorKelly Yancey <kbyanc@FreeBSD.org>2002-03-08 03:11:04 +0000
committerKelly Yancey <kbyanc@FreeBSD.org>2002-03-08 03:11:04 +0000
commit367ac6ed3b07692011412661d8fa5b030f8b8c25 (patch)
tree62e62d3925d126491c082c08445145804a9c137d /net/gnu-radius/files
parent6c0ad600bd4146920bed1e86f2cbe0de436bac52 (diff)
downloadports-367ac6ed3b07692011412661d8fa5b030f8b8c25.tar.gz
ports-367ac6ed3b07692011412661d8fa5b030f8b8c25.zip
Notes
Diffstat (limited to 'net/gnu-radius/files')
-rw-r--r--net/gnu-radius/files/gnu-radius.sh.tmpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/gnu-radius/files/gnu-radius.sh.tmpl b/net/gnu-radius/files/gnu-radius.sh.tmpl
new file mode 100644
index 000000000000..894832c9ce8f
--- /dev/null
+++ b/net/gnu-radius/files/gnu-radius.sh.tmpl
@@ -0,0 +1,11 @@
+#!/bin/sh
+case "$1" in
+stop)
+ killall radiusd
+ ;;
+*)
+ if [ -x !!PREFIX!!/sbin/radiusd ]; then
+ !!PREFIX!!/sbin/radiusd -y && echo -n ' radiusd'
+ fi
+ ;;
+esac