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

=> env set bootcmd 'echo Hello World'
=> bootd
Hello World
=> env set bootcmd true
=> bootd; echo $?
0
=> env set 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.