mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
2529b3ee9e
Submitted by: Samuel Tardieu <sam@inf.enst.fr> (Maintainer)
15 lines
284 B
Bash
15 lines
284 B
Bash
#!/bin/sh
|
|
case $1 in
|
|
start)
|
|
[ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce
|
|
if [ x$PERFORCE_START = xyes ]; then
|
|
echo -n ' perforce'
|
|
p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS
|
|
fi
|
|
;;
|
|
stop)
|
|
killall p4d && echo -n ' perforce'
|
|
;;
|
|
*) ;;
|
|
esac
|