Mark init_chroot and init_script variables as deprecated.

This commit is contained in:
Warner Losh 2017-09-09 16:04:49 +00:00
parent bab31140a2
commit e6d697124f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323367

View File

@ -487,6 +487,13 @@ That happens before entering single-user mode or multi-user
mode (but after executing the
.Va init_script
if enabled).
This functionality has been eclipsed by rerooting.
See
.Xr reboot 8
.Fl r
for details.
It will be removed in
.Fx 13.0 .
.It Va init_path
Sets the list of binaries which the kernel will try to run as the initial
process.
@ -508,6 +515,13 @@ if the script terminates with a non-zero exit code,
or if a SIGTERM is delivered to the
.Xr init 8
process (PID 1).
This functionality has been eclipsed by rerooting.
See
.Xr reboot 8
.Fl r
for details.
It will be removed in
.Fx 13.0 .
.It Va init_shell
Defines the shell binary to be used for executing the various shell scripts.
The default is