Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 14:37:45 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Christophe Yayon <freebsd@freebsdfr.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: /boot & rcng
Message-ID:  <20021121123745.GN8009@gothmog.gr>
In-Reply-To: <3631.194.3.119.2.1037867981.squirrel@webmail.freebsdfr.org>
References:  <3631.194.3.119.2.1037867981.squirrel@webmail.freebsdfr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-11-21 09:39, Christophe Yayon <freebsd@freebsdfr.org> wrote:
> i also checked /etc/rc.d/* (rcng) and i have seen that there is again
> 'NetBSD' choice (case section), does it will be clean when release ?

You obviously refer to parts of the rc.d scripts that look like:

	case ${OSTYPE} in
	FreeBSD)
		...
		;;
	NetBSD)
		...
		;;
	esac

These are parts that set up different behavior for the scripts,
depending on whether they are run on a NetBSD or a FreeBSD host.

FreeBSD and NetBSD have been trying to run the same scripts, without
local changes, which makes it easier to track changes from one source
tree to the other.  The parts that really do need to behave
differently depending on the operating system that the scripts run on,
are encapsulated in blocks like the one above.


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?20021121123745.GN8009>