mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
f08936d579
better crash diagnosis. May it never get tested, ha ha ha. Eliminate the lite2 and smp releases of the src-sys collection. Add the new mail-archive collection. Run cvsup with the "-1" flag to disable automatic retries. Let cron take care of that. State in DESCR that version 15.1 or later of CVSup is required.
19 lines
416 B
Bash
19 lines
416 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
|
|
out=/var/tmp/cvsupd.out
|
|
|
|
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 -e -C ${maxclients} -l @${facility}" >>${out} 2>&1
|