From 57984250f5ed9d351c7b56284cc34fba0540c63d Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 28 Jan 2010 01:47:31 +0000 Subject: [PATCH] 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 --- share/man/man8/rc.subr.8 | 40 ++-------------------------------------- 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index 2c78590c5840..9f6c7fa2bc96 100644 --- a/share/man/man8/rc.subr.8 +++ b/share/man/man8/rc.subr.8 @@ -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