summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2011-04-27 00:03:43 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2011-04-27 00:03:43 +0000
commitae4dec86d6e44dbeca23cee284fba03bc8df941b (patch)
treedc0c6eea5f2802a7363435550a997ad1e1c78ea2 /share
parent970628326e5e2d15cc1bc9d97f07278a63489e38 (diff)
no need for rc(8) to do the job of rc.conf(8): remove the examples section;
ok ajacoutot schwarze
Diffstat (limited to 'share')
-rw-r--r--share/man/man8/rc.851
1 files changed, 2 insertions, 49 deletions
diff --git a/share/man/man8/rc.8 b/share/man/man8/rc.8
index 3c6d8ebcd38..a64e460bb95 100644
--- a/share/man/man8/rc.8
+++ b/share/man/man8/rc.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rc.8,v 1.33 2011/04/25 12:46:00 jmc Exp $
+.\" $OpenBSD: rc.8,v 1.34 2011/04/27 00:03:42 jmc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)rc.8 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: April 25 2011 $
+.Dd $Mdocdate: April 27 2011 $
.Dt RC 8
.Os
.Sh NAME
@@ -163,53 +163,6 @@ Normally,
.Nm rc.local
contains commands and daemons that are not part of the
stock installation.
-.Sh CONFIGURATION EXAMPLES
-The
-.Xr rc.conf 8
-file contains a series of Bourne shell syntax assignments that
-are used to configure the kernel, the network,
-and various other system daemons.
-This file is then sourced by
-.Pa /etc/rc .
-Various comments in
-.Xr rc.conf 8
-make it clear what each variable does.
-Refer to the specific man pages for each daemon to determine what that
-subsystem does.
-.Pp
-For example, the
-.Xr lpd 8
-daemon is controlled by the following line:
-.Bd -literal -offset indent
-lpd_flags=NO # for normal use: "" (or "-l" for debugging)
-.Ed
-.Pp
-This does not start
-.Xr lpd 8
-at system startup.
-To start
-.Xr lpd 8 ,
-the following entry can be used:
-.Bd -literal -offset indent
-lpd_flags="" # for normal use: "" (or "-l" for debugging)
-.Ed
-.Pp
-Alternately,
-.Xr lpd 8
-can be started with the
-.Fl l
-flag (to log remote connections):
-.Bd -literal -offset indent
-lpd_flags="-l" # for normal use: "" (or "-l" for debugging)
-.Ed
-.Pp
-To start the a and b
-.Xr rc.d 8
-scripts in reverse order, one could specify rc_scripts in the
-the following way:
-.Bd -literal -offset indent
-rc_scripts="b a"
-.Ed
.Sh FILES
.Bl -tag -width "/etc/rc.securelevelXX" -compact
.It Pa /etc/netstart