From owner-freebsd-questions Wed Nov 27 6:24:58 2002 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 D094037B401 for ; Wed, 27 Nov 2002 06:24:57 -0800 (PST) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E61A43E4A for ; Wed, 27 Nov 2002 06:24:56 -0800 (PST) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id gAREOjx11154; Wed, 27 Nov 2002 16:24:45 +0200 Message-Id: <200211271424.gAREOjx11154@lv.raad.tartu.ee> Received: from SpoolDir by INFO (Mercury 1.48); 27 Nov 02 16:23:29 +0200 From: "Toomas Aas" Organization: Tartu City Government To: Clint Olsen , questions@freebsd.org, b.k.jackson@verizon.net Date: Wed, 27 Nov 2002 16:23:27 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: 4.7 changes to /bin/sh? In-reply-to: <20021127043410.GA25180@0lsen.net> X-info: Headers changed by Barricade Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > The line it bitched about was something like: > > [ -x ${PREFIX}/sbin/thttpd_wrapper ] && ${PREFIX}/sbin/thttpd_wrapper & && > echo -n ' thttpd' > > I presume it was complaining about running a command in the background and > then trying to use the && operator to run the following command. Your diagnosis is correct. This change is even mentioned in 4.7 release notes (which I read *after* posting similar message to this list a few weeks ago). I don't know about thttpd_wrapper, but with my scripts (mysql_server.sh and pwcheck.sh) I could just remove the single & and the scripts started to work OK. -- Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * One can never know for sure what a deserted area looks like. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message