aboutsummaryrefslogtreecommitdiff
path: root/devel/p4ftpd/files
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2001-01-09 12:29:27 +0000
committerThomas Gellekum <tg@FreeBSD.org>2001-01-09 12:29:27 +0000
commit2529b3ee9e520d2da42e5c39af0cb34f09c84725 (patch)
tree9aab55d92cc13922b497bee9a35f7e499242f540 /devel/p4ftpd/files
parenta5f45fba473a8187c5228f50a4959844d2d65854 (diff)
downloadports-2529b3ee9e520d2da42e5c39af0cb34f09c84725.tar.gz
ports-2529b3ee9e520d2da42e5c39af0cb34f09c84725.zip
Notes
Diffstat (limited to 'devel/p4ftpd/files')
-rw-r--r--devel/p4ftpd/files/perforce.sh.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/p4ftpd/files/perforce.sh.in b/devel/p4ftpd/files/perforce.sh.in
index 646b16f9bc8d..33398a7a8691 100644
--- a/devel/p4ftpd/files/perforce.sh.in
+++ b/devel/p4ftpd/files/perforce.sh.in
@@ -3,9 +3,12 @@ case $1 in
start)
[ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce
if [ x$PERFORCE_START = xyes ]; then
- echo -n " perforce server"
+ echo -n ' perforce'
p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS
fi
;;
+ stop)
+ killall p4d && echo -n ' perforce'
+ ;;
*) ;;
esac