mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 08:07:59 +00:00
Documentation: man-page for command bootd
Provide a man-page for the bootd command. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
dd706c83be
commit
5727f922ca
2 changed files with 39 additions and 0 deletions
38
doc/usage/cmd/bootd.rst
Normal file
38
doc/usage/cmd/bootd.rst
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
.. SPDX-License-Identifier: GPL-2.0+:
|
||||||
|
|
||||||
|
bootd command
|
||||||
|
=============
|
||||||
|
|
||||||
|
Synopsis
|
||||||
|
--------
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
bootd
|
||||||
|
|
||||||
|
Description
|
||||||
|
-----------
|
||||||
|
|
||||||
|
The bootd command executes the command stored in the environment variable
|
||||||
|
*bootcmd*, i.e. it does the same thing as *run bootcmd*.
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
=> setenv bootcmd 'echo Hello World'
|
||||||
|
=> bootd
|
||||||
|
Hello World
|
||||||
|
=> setenv bootcmd true
|
||||||
|
=> bootd; echo $?
|
||||||
|
0
|
||||||
|
=> setenv bootcmd false
|
||||||
|
=> bootd; echo $?
|
||||||
|
1
|
||||||
|
|
||||||
|
Return value
|
||||||
|
------------
|
||||||
|
|
||||||
|
The return value $? of the bootd command is the return value of the command in
|
||||||
|
the environment variable *bootcmd*.
|
|
@ -23,6 +23,7 @@ Shell commands
|
||||||
cmd/addrmap
|
cmd/addrmap
|
||||||
cmd/askenv
|
cmd/askenv
|
||||||
cmd/base
|
cmd/base
|
||||||
|
cmd/bootd
|
||||||
cmd/bootdev
|
cmd/bootdev
|
||||||
cmd/bootefi
|
cmd/bootefi
|
||||||
cmd/bootflow
|
cmd/bootflow
|
||||||
|
|
Loading…
Add table
Reference in a new issue