blob: 619cfb601a0660ff2cadfaea1f7131f6309176c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
.. SPDX-License-Identifier: GPL-2.0+:
.. index::
single: bootd (command)
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*.
|