diff options
author | nork <nork@FreeBSD.org> | 2004-10-28 15:03:14 +0000 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2004-10-28 15:03:14 +0000 |
commit | 54378ff6e111b3f8adf0e894c7331174fb4e9e4a (patch) | |
tree | af413590d307cca9930bcc602297772b2e4458a9 /devel/p4web/files | |
parent | 46259756e1523bd1585dd0cc1a7aa33669bf1b4c (diff) | |
download | FreeBSD-ports-54378ff6e111b3f8adf0e894c7331174fb4e9e4a.zip FreeBSD-ports-54378ff6e111b3f8adf0e894c7331174fb4e9e4a.tar.gz |
o Update perforce binaries.
o Add support checkpoint on rcNG script. [*]
PR: ports/73219
Submitted by: david marshall <marshall@chezmarshall.com> (maintainer)
Brooks Davis <brooks@one-eyed-alien.net> [*]
Diffstat (limited to 'devel/p4web/files')
-rw-r--r-- | devel/p4web/files/perforce.sh.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/p4web/files/perforce.sh.in b/devel/p4web/files/perforce.sh.in index 4590c51..e32da84 100644 --- a/devel/p4web/files/perforce.sh.in +++ b/devel/p4web/files/perforce.sh.in @@ -40,8 +40,14 @@ restart) sleep 1 $0 start ;; +checkpoint) + [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf + if [ -x $p4d -a x$PERFORCE_START = xyes ]; then + su -fm $PERFORCE_USER -c "$p4d -r $PERFORCE_ROOT -jc" + fi + ;; *) - echo "usage: $0 {start|stop|restart}" + echo "usage: $0 {start|stop|restart|checkpoint}" exit 64 ;; esac |