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).
This commit is contained in:
parent
09ee63bc6a
commit
b2c577b5de
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252798
@ -99,10 +99,9 @@ Show only variable values, not their names.
|
|||||||
Show only variable names, not their values.
|
Show only variable names, not their values.
|
||||||
.It Fl q
|
.It Fl q
|
||||||
Quiet.
|
Quiet.
|
||||||
Ignore previous
|
Ignore previous occurrences of
|
||||||
.Fl v
|
.Fl v
|
||||||
and/or
|
flag.
|
||||||
.Ev SYSRC_VERBOSE .
|
|
||||||
.It Fl R Ar dir
|
.It Fl R Ar dir
|
||||||
Operate within the root directory
|
Operate within the root directory
|
||||||
.Pq Sq Ar dir
|
.Pq Sq Ar dir
|
||||||
@ -175,7 +174,7 @@ be called repeatedly).
|
|||||||
.Sh ENVIRONMENT
|
.Sh ENVIRONMENT
|
||||||
The following environment variables are referenced by
|
The following environment variables are referenced by
|
||||||
.Nm :
|
.Nm :
|
||||||
.Bl -tag -width ".Ev SYSRC_VERBOSE"
|
.Bl -tag -width ".Ev RC_DEFAULTS"
|
||||||
.It Ev RC_CONFS
|
.It Ev RC_CONFS
|
||||||
Override default
|
Override default
|
||||||
.Ql rc_conf_files
|
.Ql rc_conf_files
|
||||||
@ -184,9 +183,6 @@ Override default
|
|||||||
Location of
|
Location of
|
||||||
.Ql /etc/defaults/rc.conf
|
.Ql /etc/defaults/rc.conf
|
||||||
file.
|
file.
|
||||||
.It Ev SYSRC_VERBOSE
|
|
||||||
Default verbosity.
|
|
||||||
Set to non-NULL to enable.
|
|
||||||
.El
|
.El
|
||||||
.Sh DEPENDENCIES
|
.Sh DEPENDENCIES
|
||||||
The following standard commands are required by
|
The following standard commands are required by
|
||||||
|
Loading…
Reference in New Issue
Block a user