Correct typos and more precise wording.
This commit is contained in:
parent
632ea8ea98
commit
67f5810e07
@ -53,16 +53,16 @@ The smaller one is a set of commands
|
|||||||
designed for direct use by the casual user, called "builtin
|
designed for direct use by the casual user, called "builtin
|
||||||
commands" for historical reasons.
|
commands" for historical reasons.
|
||||||
The main drive behind these commands is user-friendliness.
|
The main drive behind these commands is user-friendliness.
|
||||||
The bigger component is the Lua interpter.
|
The bigger component is the Lua interpreter.
|
||||||
.Pp
|
.Pp
|
||||||
During initialization,
|
During initialization,
|
||||||
.Nm
|
.Nm
|
||||||
will probe for a console and set the
|
probes for a console and set the
|
||||||
.Va console
|
.Va console
|
||||||
variable, or set it to serial console
|
variable, or set it to serial console
|
||||||
.Pq Dq Li comconsole
|
.Pq Dq Li comconsole
|
||||||
if the previous boot stage used that.
|
if the previous boot stage used that.
|
||||||
If multiple consoles are selected, they will be listed separated by spaces.
|
If multiple consoles are selected, they are listed separated by spaces.
|
||||||
Then, devices are probed,
|
Then, devices are probed,
|
||||||
.Va currdev
|
.Va currdev
|
||||||
and
|
and
|
||||||
@ -85,26 +85,25 @@ is not set to
|
|||||||
.Dq Li NO
|
.Dq Li NO
|
||||||
(not case sensitive), then an
|
(not case sensitive), then an
|
||||||
.Ic autoboot
|
.Ic autoboot
|
||||||
will be tried.
|
is attempted.
|
||||||
If the system gets past this point,
|
If the system gets past this point,
|
||||||
.Va prompt
|
.Va prompt
|
||||||
will be set and
|
is set and
|
||||||
.Nm
|
.Nm
|
||||||
will engage interactive mode.
|
enters interactive mode.
|
||||||
Please note that historically even when
|
Please note that, historically, even when
|
||||||
.Va autoboot_delay
|
.Va autoboot_delay
|
||||||
is set to
|
is set to
|
||||||
.Dq Li 0
|
.Dq Li 0 ,
|
||||||
user will be able to interrupt autoboot process by pressing some key
|
the user can interrupt the autoboot process by pressing a key
|
||||||
on the console while kernel and modules are being loaded.
|
on the console while the kernel and modules are being loaded.
|
||||||
In some
|
To prevent this set
|
||||||
cases such behaviour may be undesirable, to prevent it set
|
|
||||||
.Va autoboot_delay
|
.Va autoboot_delay
|
||||||
to
|
to
|
||||||
.Dq Li -1 ,
|
.Dq Li -1 .
|
||||||
in this case
|
In this case
|
||||||
.Nm
|
.Nm
|
||||||
will engage interactive mode only if
|
enters interactive mode only if
|
||||||
.Ic autoboot
|
.Ic autoboot
|
||||||
has failed.
|
has failed.
|
||||||
.Sh BUILTIN COMMANDS
|
.Sh BUILTIN COMMANDS
|
||||||
@ -115,10 +114,10 @@ Presently,
|
|||||||
the only way to call them from a script is by using
|
the only way to call them from a script is by using
|
||||||
.Pa evaluate
|
.Pa evaluate
|
||||||
on a string.
|
on a string.
|
||||||
If an error condition occurs, an exception will be generated,
|
If an error condition occurs, an exception is generated,
|
||||||
which can be intercepted using Lua exception handling.
|
which can be intercepted using Lua exception handling.
|
||||||
If not intercepted, an error message will be displayed and
|
If not intercepted, an error message is displayed and
|
||||||
the interpreter's state will be reset, emptying the stack and restoring
|
the interpreter's state is reset, emptying the stack and restoring
|
||||||
interpreting mode.
|
interpreting mode.
|
||||||
.Pp
|
.Pp
|
||||||
The commands are described in the
|
The commands are described in the
|
||||||
@ -181,7 +180,7 @@ If MD available, a file system can be embedded into the
|
|||||||
.Nm
|
.Nm
|
||||||
with
|
with
|
||||||
.Pa /sys/tools/embed_mfs.sh .
|
.Pa /sys/tools/embed_mfs.sh .
|
||||||
Then, MD will be probed and be set to
|
Then, MD is probed and be set to
|
||||||
.Va currdev
|
.Va currdev
|
||||||
during initialization.
|
during initialization.
|
||||||
.Pp
|
.Pp
|
||||||
|
Loading…
Reference in New Issue
Block a user