From owner-freebsd-current Fri Jan 21 22:56:31 2000 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id D16C91553C for ; Fri, 21 Jan 2000 22:56:28 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id XAA88066 for ; Fri, 21 Jan 2000 23:56:27 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id XAA18881 for ; Fri, 21 Jan 2000 23:56:38 -0700 (MST) Message-Id: <200001220656.XAA18881@harmony.village.org> To: current@freebsd.org Subject: Here's what I'm using Date: Fri, 21 Jan 2000 23:56:38 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message