diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2012-08-04 15:30:49 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2012-08-04 15:30:49 +0000 |
commit | 24ec9e36125faaa26cbab3abe594e3e59bdda49f (patch) | |
tree | 1658ff9801f502b2eab61036093dbcd18e6bc696 /share | |
parent | bccc36a37ef9b931d2423390593b1e91d4f5e5a7 (diff) |
Document rc_usercheck.
ok todd@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man8/rc.subr.8 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index 4361a3a9e11..cf7e30ef0d1 100644 --- a/share/man/man8/rc.subr.8 +++ b/share/man/man8/rc.subr.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rc.subr.8,v 1.18 2011/12/13 00:09:52 schwarze Exp $ +.\" $OpenBSD: rc.subr.8,v 1.19 2012/08/04 15:30:48 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: December 13 2011 $ +.Dd $Mdocdate: August 4 2012 $ .Dt RC.SUBR 8 .Os .Sh NAME @@ -121,6 +121,14 @@ For example, if rc_reload=NO is set in the script, and .Ic rc_cmd is called for the reload action, an error will be raised. +Similarly, the special variable +.Ar rc_usercheck +must be set to +.Ar NO +if the +.Cm check +.Ar action +requires root privileges. .Pp The .Ar action |