From owner-cvs-all Fri Sep 6 9:15:33 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FDCB37B400; Fri, 6 Sep 2002 09:15:30 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11C1043E4A; Fri, 6 Sep 2002 09:15:30 -0700 (PDT) (envelope-from gordon@FreeBSD.org) Received: from freefall.freebsd.org (gordon@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g86GFTJU082825; Fri, 6 Sep 2002 09:15:29 -0700 (PDT) (envelope-from gordon@freefall.freebsd.org) Received: (from gordon@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g86GFTKs082824; Fri, 6 Sep 2002 09:15:29 -0700 (PDT) Message-Id: <200209061615.g86GFTKs082824@freefall.freebsd.org> From: Gordon Tetlow Date: Fri, 6 Sep 2002 09:15:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc rc.subr X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gordon 2002/09/06 09:15:29 PDT Modified files: etc rc.subr Log: Add a support for a ${OSTYPE} which is set once in /etc/rc.subr. Also convert all instances of `${CMD_OSTYPE}` to just using ${OSTYPE}. This saves us a shell invocation on anything that is OS-dependent. I seriously doubt that we will be spontaneously changing OS types during bootup. Revision Changes Path 1.5 +4 -3 src/etc/rc.subr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message