Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2002 21:24:52 -0800
From:      Clint Olsen <clint@0lsen.net>
To:        questions@FreeBSD.ORG
Subject:   Re: 4.7 changes to /bin/sh?
Message-ID:  <20021127052452.GA25344@0lsen.net>
In-Reply-To: <3DE454AA.5000904@mac.com>
References:  <20021127043410.GA25180@0lsen.net> <3DE454AA.5000904@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021127052452.GA25344>