summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-07-05 16:45:25 +0000
committerdteske <dteske@FreeBSD.org>2013-07-05 16:45:25 +0000
commit8c9905a923e937cd0f2233690840698083b25257 (patch)
tree2e9cefb1023b382d8d7d01b3b0b8d0fbea47ac56
parent02a66d5bd9f4f67df7c4a72151b05fddf5b55f8c (diff)
downloadFreeBSD-src-8c9905a923e937cd0f2233690840698083b25257.zip
FreeBSD-src-8c9905a923e937cd0f2233690840698083b25257.tar.gz
Update sysrc(8) manual to coincide with r252797:
Do not inherit $SYSRC_VERBOSE from operating environment. The concern is that when a user (such as myself) which has SYSRC_VERBOSE=1 in his/her ~/.bash_profile or such that when they are told to execute a command like: hostname `sysrc -n hostname` NOTE: To activate a recently configured hostname. If $SYSRC_VERBOSE is set, then POLA is violated because the output of sysrc is indirectly influenced (making for an inconsistent experience).
-rw-r--r--usr.sbin/sysrc/sysrc.810
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.sbin/sysrc/sysrc.8 b/usr.sbin/sysrc/sysrc.8
index 43ba885..7587741 100644
--- a/usr.sbin/sysrc/sysrc.8
+++ b/usr.sbin/sysrc/sysrc.8
@@ -99,10 +99,9 @@ Show only variable values, not their names.
Show only variable names, not their values.
.It Fl q
Quiet.
-Ignore previous
+Ignore previous occurrences of
.Fl v
-and/or
-.Ev SYSRC_VERBOSE .
+flag.
.It Fl R Ar dir
Operate within the root directory
.Pq Sq Ar dir
@@ -175,7 +174,7 @@ be called repeatedly).
.Sh ENVIRONMENT
The following environment variables are referenced by
.Nm :
-.Bl -tag -width ".Ev SYSRC_VERBOSE"
+.Bl -tag -width ".Ev RC_DEFAULTS"
.It Ev RC_CONFS
Override default
.Ql rc_conf_files
@@ -184,9 +183,6 @@ Override default
Location of
.Ql /etc/defaults/rc.conf
file.
-.It Ev SYSRC_VERBOSE
-Default verbosity.
-Set to non-NULL to enable.
.El
.Sh DEPENDENCIES
The following standard commands are required by
OpenPOWER on IntegriCloud