From owner-freebsd-questions@FreeBSD.ORG Sun Dec 11 18:33:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 105E316A41F for ; Sun, 11 Dec 2005 18:33:36 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFEC343D45 for ; Sun, 11 Dec 2005 18:33:34 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.4/8.13.4) with ESMTP id jBBIXOlB035713; Sun, 11 Dec 2005 18:33:24 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <439C70F4.90201@infracaninophile.co.uk> Date: Sun, 11 Dec 2005 18:33:24 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vasile C References: <439C521E.9080303@mac.com> <200512111826.27242.v.cristescu@gmail.com> <20051211115014.157B.GERARD@seibercom.net> <200512111921.28072.v.cristescu@gmail.com> In-Reply-To: <200512111921.28072.v.cristescu@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 11 Dec 2005 18:33:24 +0000 (GMT) X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: cvsup question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2005 18:33:36 -0000 Vasile C wrote: > Can someone PLEASE answer my question without asking me more questions ? > Is there a way to change the reconnect time or not ? Not without modifying the source code to cvsup. What I recommend you do is add the '-1' flag to your cvsup command line -- so cvsup will try once to pull down the updates and then exit. Then you can use a trivial bit of shell scripting to try again if the first attempt failed, although you should try to cvsup from a different server if you need to retry. eg. #!/bin/sh CVSUP=/usr/local/bin/cvsup CVSUPFLAGS=-1 -g -L2 /usr/share/examples/cvsup/ports-supfile CVSUPSERVERS=' cvsup.xx.freebsd.org cvsup.yy.freebsd.org cvsup.zz.freebsd.org ' OTHERCMDS=portsdb -Uu && portupgrade for $h in $CVSUPSERVERS ; do $CVSUP -h $h $CVSUPFLAGS && \ $OTHERCMDS && \ break done Note: untested code intended only as an outline of what you might do -- will need some work before suitable for serious use. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW