diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2003-10-02 20:55:58 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2003-10-02 20:55:58 +0000 |
commit | 1cf501d6f87b43d3b20cdc1df1942dccff3796bd (patch) | |
tree | 888348323662d1fceb365259a7bc1b95e8e8d3f1 /devel/p4ftpd/files/perforce.sh.in | |
parent | 6919c4e8e4b89639d4e9698d9c257a0dd4103be9 (diff) | |
download | ports-1cf501d6f87b43d3b20cdc1df1942dccff3796bd.tar.gz ports-1cf501d6f87b43d3b20cdc1df1942dccff3796bd.zip |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_9_0'.release/4.9.0
Notes
Notes:
svn path=/head/; revision=90063
svn path=/tags/RELEASE_4_9_0/; revision=90064; tag=release/4.9.0
Diffstat (limited to 'devel/p4ftpd/files/perforce.sh.in')
-rw-r--r-- | devel/p4ftpd/files/perforce.sh.in | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/devel/p4ftpd/files/perforce.sh.in b/devel/p4ftpd/files/perforce.sh.in deleted file mode 100644 index 4590c510b5e6..000000000000 --- a/devel/p4ftpd/files/perforce.sh.in +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ - -p4d=@PREFIX@/sbin/p4d -p4ftpd=@PREFIX@/sbin/p4ftpd -p4p=@PREFIX@/sbin/p4p - -case $1 in -start) - [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf - if [ -x $p4d -a x$PERFORCE_START = xyes ]; then - echo -n ' p4d' - su -fm $PERFORCE_USER -c "$p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS" - fi - if [ -x $p4ftpd -a x$PERFORCE_FTPD_START = xyes ]; then - echo -n ' p4ftpd' - $p4ftpd $PERFORCE_FTPD_OPTIONS - fi - if [ -x $p4p -a x$PERFORCE_PROXY_START = xyes ]; then - echo -n ' p4p' - $p4p $PERFORCE_PROXY_OPTIONS - fi - - ;; -stop) - [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf - if [ -x $p4ftpd ]; then - killall -u 0 p4ftpd >/dev/null 2>&1 && echo -n ' p4ftpd' - fi - if [ -x $p4d ]; then - killall -u $PERFORCE_USER p4d >/dev/null 2>&1 && echo -n ' p4d' - fi - if [ -x $p4p ]; then - killall -u 0 p4p > /dev/null 2>&1 && echo -n ' p4p' - fi - ;; -restart) - $0 stop - sleep 1 - $0 start - ;; -*) - echo "usage: $0 {start|stop|restart}" - exit 64 - ;; -esac |