From owner-freebsd-questions Tue Nov 26 21:24:55 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 256FC37B401 for ; Tue, 26 Nov 2002 21:24:54 -0800 (PST) Received: from 0lsen.net (12-231-216-103.client.attbi.com [12.231.216.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF9F743EAF for ; Tue, 26 Nov 2002 21:24:53 -0800 (PST) (envelope-from clint@0lsen.net) Received: by 0lsen.net (Postfix, from userid 1001) id CBD7B12C1; Tue, 26 Nov 2002 21:24:52 -0800 (PST) Date: Tue, 26 Nov 2002 21:24:52 -0800 From: Clint Olsen To: questions@FreeBSD.ORG Subject: Re: 4.7 changes to /bin/sh? Message-ID: <20021127052452.GA25344@0lsen.net> References: <20021127043410.GA25180@0lsen.net> <3DE454AA.5000904@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DE454AA.5000904@mac.com> User-Agent: Mutt/1.4i Organization: NULlsen Network X-Disclaimer: Mutt Bites! 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 On Nov 26, paul beard wrote: > > check to see how ${PREFIX} is being evaluated: I have found quite a few > rc scripts where it never worked: I just hard-coded the necessary values. While I do agree with you, in this case it's not it. If I rewrote the script using an if statement, it worked just fine. if [ -x ${PREFIX}/sbin/thttpd_wrapper ]; then ${PREFIX}/sbin/thttpd_wrapper & echo -n ' thttpd' fi -Clint To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message