summaryrefslogtreecommitdiff
path: root/share/man/man8
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2011-03-17 17:32:32 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2011-03-17 17:32:32 +0000
commit1188f8e26544e63c188d70de83de7288afc4a290 (patch)
treece278d47f784183452f7388e53a9fa2339174aeb /share/man/man8
parentaef677ae8409fb41e4d9d4a21fba8c121b94fa80 (diff)
Document RC_DEBUG.
"I love having slaves" && ok robert@
Diffstat (limited to 'share/man/man8')
-rw-r--r--share/man/man8/rc.d.812
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man8/rc.d.8 b/share/man/man8/rc.d.8
index cc361ba1453..65f1e13ef6f 100644
--- a/share/man/man8/rc.d.8
+++ b/share/man/man8/rc.d.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rc.d.8,v 1.7 2011/03/15 12:21:08 ajacoutot Exp $
+.\" $OpenBSD: rc.d.8,v 1.8 2011/03/17 17:32:31 ajacoutot Exp $
.\"
.\" Copyright (c) 2011 Robert Nagy, Antoine Jacoutot, Ingo Schwarze
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 15 2011 $
+.Dd $Mdocdate: March 17 2011 $
.Dt RC.D 8
.Os
.Sh NAME
@@ -103,6 +103,14 @@ with the same name as the
.Nm rc.d
script itself,
in which case it will be set to that login class.
+.Bl -tag -width "RC_DEBUG"
+.It Va RC_DEBUG
+Setting this variable will print the function names as they are called
+and prevent the
+.Xr rc.subr 8
+framework from redirecting stdin and stderr to /dev/null.
+This is used to allow debugging of failed
+.Ar actions .
.Sh FILES
.Bl -tag -width Ds
.It Pa /etc/rc.d/