Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2003 09:11:12 -0800
From:      "David O'Brien" <obrien@freebsd.org>
To:        cjclark@alum.mit.edu
Cc:        current@freebsd.org
Subject:   Re: Create linker.hints at boot
Message-ID:  <20030317171112.GA32128@dragon.nuxi.com>
In-Reply-To: <20030317082834.GC24317@blossom.cjclark.org>
References:  <20030315000920.GA69495@blossom.cjclark.org> <20030315032742.3AE132A7EA@canning.wemm.org> <20030317082834.GC24317@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 17, 2003 at 12:28:34AM -0800, Crist J. Clark wrote:
> +kldxref_start () {
> +	if [ -z "$kldxref_module_path" ]; then
> +		MODULE_PATHS=`sysctl -n kern.module_path`
> +	else
> +		MODULE_PATHS="$kldxref_module_path"
> +	fi

Please change the logic to positive logic:

    if [ -n "$kldxref_module_path" ]; then
    MODULE_PATHS="$kldxref_module_path"
    else
    MODULE_PATHS=`sysctl -n kern.module_path`
    fi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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