From owner-svn-src-all@FreeBSD.ORG Thu Jan 28 01:47:31 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8797110656A5; Thu, 28 Jan 2010 01:47:31 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5CC778FC08; Thu, 28 Jan 2010 01:47:31 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o0S1lVww091534; Thu, 28 Jan 2010 01:47:31 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o0S1lVA1091532; Thu, 28 Jan 2010 01:47:31 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201001280147.o0S1lVA1091532@svn.freebsd.org> From: Ed Maste Date: Thu, 28 Jan 2010 01:47:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r203102 - head/share/man/man8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2010 01:47:31 -0000 Author: emaste Date: Thu Jan 28 01:47:31 2010 New Revision: 203102 URL: http://svn.freebsd.org/changeset/base/203102 Log: Clean up rc.subr man page after removing leftover NetBSD compat. Also switch to 2-clause license per NetBSD rc.subr.8 r1.19. Submitted by: Alex Kozlov Modified: head/share/man/man8/rc.subr.8 Modified: head/share/man/man8/rc.subr.8 ============================================================================== --- head/share/man/man8/rc.subr.8 Thu Jan 28 00:48:15 2010 (r203101) +++ head/share/man/man8/rc.subr.8 Thu Jan 28 01:47:31 2010 (r203102) @@ -14,13 +14,6 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the NetBSD -.\" Foundation, Inc. and its contributors. -.\" 4. Neither the name of The NetBSD Foundation nor the names of its -.\" contributors may be used to endorse or promote products derived -.\" from this software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED @@ -101,38 +94,9 @@ be rewritten to make use of it. The .Nm functions were mostly imported from -.Nx -and it is intended that they remain synced between the -two projects. -With that in mind there are several variable -definitions that can help in this regard. -They are: -.Bl -tag -width 4n -.It Va OSTYPE -Its value will be either -.Qq Li FreeBSD -or -.Qq Li NetBSD , -depending on which OS it is running on. -.It Va SYSCTL -The path to the -.Xr sysctl 8 -command. -.It Va SYSCTL_N -The path and argument list to display only the -.Xr sysctl 8 -values instead of a -.Ar name Ns = Ns Ar value -pair. -.It Va SYSCTL_W -The path and argument to write or modify -.Xr sysctl 8 -values. -.El +.Nx . .Pp -The -.Nm -functions are accessed by sourcing +They are accessed by sourcing .Pa /etc/rc.subr into the current shell. .Pp