mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
a2fac24797
mirror site.
17 lines
369 B
Bash
17 lines
369 B
Bash
#! /bin/sh
|
|
|
|
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/cvsupd\.sh\$"); then
|
|
echo "$0: Cannot determine the PREFIX" >&2
|
|
exit 1
|
|
fi
|
|
base=${PREFIX}/etc/cvsup
|
|
|
|
export PATH=/bin:/usr/bin:${PREFIX}/sbin
|
|
umask 2
|
|
|
|
test -x ${PREFIX}/sbin/cvsupd || exit 1
|
|
echo -n " cvsupd"
|
|
cd ${base} || exit
|
|
. config.sh || exit
|
|
su -m ${user} -c "cvsupd -C ${maxclients} -l @${facility}"
|