OK. I said I'd clean this up and send this out. Well, I didn't get
as much ceanup done as I'd have liked. The order of hosts is
arbitrary and works for me. I'm sure this could be improved,
especially to make the order random.
Warner
#!/bin/sh
if [ -z "$1" ]; then
hosts=" \
cvsup7.freebsd.org \
cvsup8.freebsd.org \
cvsup6.freebsd.org \
cvsup4.freebsd.org \
cvsup3.freebsd.org \
cvsup2.freebsd.org \
cvsup1.freebsd.org \
cvsup5.freebsd.org \
"
else
hosts=$1
shift
fi
echo "Will try hosts $hosts"
for host in $hosts; do
echo "Using host $host"
for i in 1 2; do
if cvsup -1 -P m -s -g ~/bin/sup/fbsd-supfile -L 2 -h $host $*; then
exit;
fi
done
done
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message