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.
This commit is contained in:
parent
53a8035b0f
commit
8fe516386c
@ -218,6 +218,11 @@ Otherwise, warn that
|
|||||||
.Ar var
|
.Ar var
|
||||||
is not set correctly.
|
is not set correctly.
|
||||||
The values are case insensitive.
|
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
|
.It Ic check_pidfile Ar pidfile procname Op Ar interpreter
|
||||||
Parses the first word of the first line of
|
Parses the first word of the first line of
|
||||||
.Ar pidfile
|
.Ar pidfile
|
||||||
@ -836,20 +841,17 @@ into the current shell.
|
|||||||
.It Ic stop_boot Op Ar always
|
.It Ic stop_boot Op Ar always
|
||||||
Prevent booting to multiuser mode.
|
Prevent booting to multiuser mode.
|
||||||
If the
|
If the
|
||||||
.Sy autoboot
|
.Va autoboot
|
||||||
variable is
|
variable is set to
|
||||||
.Sq yes ,
|
.Ql yes ,
|
||||||
or
|
or
|
||||||
.Ar always
|
.Ic checkyesno Ar always
|
||||||
is
|
indicates a truth value, then a
|
||||||
.Sq true ,
|
.Dv SIGTERM
|
||||||
then a
|
|
||||||
.Sy SIGTERM
|
|
||||||
signal is sent to the parent
|
signal is sent to the parent
|
||||||
process (which is assumed to be
|
process, which is assumed to be
|
||||||
.Xr rc 8 ).
|
.Xr rc 8 .
|
||||||
Otherwise, the shell exits with status
|
Otherwise, the shell exits with a non-zero status.
|
||||||
.Li 1 .
|
|
||||||
.It Ic set_rcvar Op Ar base
|
.It Ic set_rcvar Op Ar base
|
||||||
Set the variable name required to start a service.
|
Set the variable name required to start a service.
|
||||||
In
|
In
|
||||||
|
Loading…
Reference in New Issue
Block a user