summaryrefslogtreecommitdiffstats
path: root/share/man/man8
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2006-04-04 10:52:15 +0000
committerflz <flz@FreeBSD.org>2006-04-04 10:52:15 +0000
commitc728727d1bde760303ed2b7f1503985cf5d06ede (patch)
tree9a52a4b33571e630185eef6e7e1603cf709ce851 /share/man/man8
parent7322cd63954554ab361de4bee9aa33cf33aefd5d (diff)
downloadFreeBSD-src-c728727d1bde760303ed2b7f1503985cf5d06ede.zip
FreeBSD-src-c728727d1bde760303ed2b7f1503985cf5d06ede.tar.gz
- Sync rc.subr with NetBSD.
- Merge some documentation bits. Reviewed by: brooks, simon (doc) Approved by: cperciva (mentor) Obtained from: NetBSD MFC after: 3 days
Diffstat (limited to 'share/man/man8')
-rw-r--r--share/man/man8/rc.subr.815
1 files changed, 14 insertions, 1 deletions
diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8
index e9c6b49..7fbab14 100644
--- a/share/man/man8/rc.subr.8
+++ b/share/man/man8/rc.subr.8
@@ -36,7 +36,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 22, 2006
+.Dd April 4, 2006
.Dt RC.SUBR 8
.Os
.Sh NAME
@@ -66,6 +66,8 @@
.It
.Ic load_rc_config Ar command
.It
+.Ic load_rc_config_var Ar command Ar var
+.It
.Ic mount_critical_filesystems Ar type
.It
.Ic rc_usage Ar command ...
@@ -325,6 +327,17 @@ arguments defined by the calling script, to provide an easy
mechanism for an administrator to override the behaviour of a given
.Xr rc.d 8
script without requiring the editing of that script.
+.It Ic load_rc_config_var Ar command Ar var
+Read the
+.Xr rc.conf 5
+variable
+.Ar var
+for
+.Ar command
+and set in the current shell, using
+.Ic load_rc_config
+in a sub-shell to prevent unwanted side effects from other variable
+assignments.
.It Ic mount_critical_filesystems Ar type
Go through a list of critical file systems,
as found in the
OpenPOWER on IntegriCloud