From owner-freebsd-current Sat Jan 22 8: 5:31 2000 Delivered-To: freebsd-current@freebsd.org Received: from smtp11.bellglobal.com (smtp11.bellglobal.com [204.101.251.53]) by hub.freebsd.org (Postfix) with ESMTP id 87BF614CE1 for ; Sat, 22 Jan 2000 08:05:27 -0800 (PST) (envelope-from hoek@FreeBSD.org) Received: from localhost.nowhere (ppp2016.on.bellglobal.com [206.172.235.96]) by smtp11.bellglobal.com (8.8.5/8.8.5) with ESMTP id LAA05576; Sat, 22 Jan 2000 11:10:15 -0500 (EST) Received: (from tim@localhost) by localhost.nowhere (8.9.3/8.9.1) id LAA62284; Sat, 22 Jan 2000 11:05:18 -0500 (EST) (envelope-from tim) Date: Sat, 22 Jan 2000 11:05:18 -0500 From: Tim Vanderhoek To: Warner Losh Cc: current@FreeBSD.org Subject: Re: Here's what I'm using Message-ID: <20000122110518.A61361@mad> References: <200001220656.XAA18881@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <200001220656.XAA18881@harmony.village.org>; from Warner Losh on Fri, Jan 21, 2000 at 11:56:38PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jan 21, 2000 at 11:56:38PM -0700, Warner Losh wrote: > > arbitrary and works for me. I'm sure this could be improved, > especially to make the order random. It really isn't too hard... I wouldn't be surprised if this crosses another solution in email. :) #! /bin/sh if [ -z "$1" ]; then set cvsup7.freebsd.org \ cvsup8.freebsd.org \ cvsup6.freebsd.org \ cvsup4.freebsd.org \ cvsup3.freebsd.org \ cvsup2.freebsd.org \ cvsup1.freebsd.org \ cvsup5.freebsd.org for n in `jot -r $#` do fairings="${fairings} $n $1" shift done hosts=`echo "$fairings" | sort | awk '{print $2}'` else hosts=$1 shift fi echo "Will try hosts $(echo $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 -- Signature withheld by request of author. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message