diff options
author | yar <yar@FreeBSD.org> | 2007-10-26 09:38:54 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2007-10-26 09:38:54 +0000 |
commit | ab55394041e2f726054c2ff02c011293f9c52129 (patch) | |
tree | 3d4651838ee540b903f0da6963a0fdfaf9b298a7 /share/man/man8/rc.subr.8 | |
parent | 4e65ee2c1d2a24d68cdedd81e2e3a7fb732b7262 (diff) | |
download | FreeBSD-src-ab55394041e2f726054c2ff02c011293f9c52129.zip FreeBSD-src-ab55394041e2f726054c2ff02c011293f9c52129.tar.gz |
o Add a note that checkyesno takes a variable by its name, not value.
o Improve mdoc(7) markup and style of the paragraph on stop_boot.
Diffstat (limited to 'share/man/man8/rc.subr.8')
-rw-r--r-- | share/man/man8/rc.subr.8 | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index 682acd9..6308eb6 100644 --- a/share/man/man8/rc.subr.8 +++ b/share/man/man8/rc.subr.8 @@ -218,6 +218,11 @@ Otherwise, warn that .Ar var is not set correctly. The values are case insensitive. +.Sy Note : +.Ar var +should be a variable name, not its value; +.Ic checkyesno +will expand the variable by itself. .It Ic check_pidfile Ar pidfile procname Op Ar interpreter Parses the first word of the first line of .Ar pidfile @@ -836,20 +841,17 @@ into the current shell. .It Ic stop_boot Op Ar always Prevent booting to multiuser mode. If the -.Sy autoboot -variable is -.Sq yes , +.Va autoboot +variable is set to +.Ql yes , or -.Ar always -is -.Sq true , -then a -.Sy SIGTERM +.Ic checkyesno Ar always +indicates a truth value, then a +.Dv SIGTERM signal is sent to the parent -process (which is assumed to be -.Xr rc 8 ). -Otherwise, the shell exits with status -.Li 1 . +process, which is assumed to be +.Xr rc 8 . +Otherwise, the shell exits with a non-zero status. .It Ic set_rcvar Op Ar base Set the variable name required to start a service. In |