diff options
| author | Michael Brown | 2011-03-07 19:32:30 +0100 |
|---|---|---|
| committer | Michael Brown | 2011-03-07 20:53:58 +0100 |
| commit | e87fc5e74346d7dc6f164e6d6931f938aaabcdb9 (patch) | |
| tree | d4e0c968fbe62919252ed7df7ca0487b7447e404 /src/include | |
| parent | [prompt] Replace shell_banner() with a generic prompt() function (diff) | |
| download | ipxe-e87fc5e74346d7dc6f164e6d6931f938aaabcdb9.tar.gz ipxe-e87fc5e74346d7dc6f164e6d6931f938aaabcdb9.tar.xz ipxe-e87fc5e74346d7dc6f164e6d6931f938aaabcdb9.zip | |
[script] Add "prompt" command
The "prompt" command exposes the prompt() function, allowing a script
to prompt the user for a keypress and take action depending on the
result. For example
#!ipxe
prompt -k 0x197e -t 2000 Press F12 to boot from network... || exit
autoboot
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions
