From 8c9905a923e937cd0f2233690840698083b25257 Mon Sep 17 00:00:00 2001 From: dteske Date: Fri, 5 Jul 2013 16:45:25 +0000 Subject: 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). --- usr.sbin/sysrc/sysrc.8 | 10 +++------- 1 file 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 -- cgit v1.1