freebsd-ports/devel/p4web/files/perforce.sh.in
James E. Housley fefed1bf3b Update? from version 99.2 to 00.1 (Funny math). Added PORTEPOCH=1
PR:		21863
Submitted by:	Samuel Tardieu <sam@inf.enst.fr> MAINTAINER
2000-10-28 01:32:51 +00:00

12 lines
237 B
Bash

#!/bin/sh
case $1 in
start)
[ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce
if [ x$PERFORCE_START = xyes ]; then
echo -n " perforce server"
p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS
fi
;;
*) ;;
esac