http://git.etherboot.org
/
people
/
meteger
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eea94e
)
[shell_banner] Avoid printing Ctrl-B prompt if BANNER_TIMEOUT <= 0
author
Marty Connor
<mdc@etherboot.org>
Thu, 4 Feb 2010 00:14:35 +0000
(19:14 -0500)
committer
Marty Connor
<mdc@etherboot.org>
Thu, 4 Feb 2010 00:14:35 +0000
(19:14 -0500)
Signed-off-by: Marty Connor <mdc@etherboot.org>
src/hci/shell_banner.c
patch
|
blob
|
history
diff --git
a/src/hci/shell_banner.c
b/src/hci/shell_banner.c
index
8afefe3
..
dbe3767
100644
(file)
--- a/
src/hci/shell_banner.c
+++ b/
src/hci/shell_banner.c
@@
-41,6
+41,10
@@
int shell_banner ( void ) {
int wait_count;
int key;
+ if ( BANNER_TIMEOUT <= 0 ) {
+ return enter_shell;
+ }
+
printf ( "\nPress Ctrl-B for the gPXE command line..." );
/* Wait for key */