[ipxe-devel] [PATCH 1/2] [autoboot] Support platforms which don't process the CTRL key

bazz at cs.umb.edu bazz at cs.umb.edu
Sat May 23 15:02:41 UTC 2015


The user can now press the ESC key to abort the autoboot process and
gain access to the shell.

Signed-off-by: Michael J. Bazzinotti <mbazzinotti at gmail.com>
---
 src/usr/autoboot.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index ccafeae..fa4b719 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -532,10 +532,10 @@ static int shell_banner ( void ) {
 
 	/* Prompt user */
 	printf ( "\n" );
-	return ( prompt ( "Press Ctrl-B for the " PRODUCT_SHORT_NAME
+	return ( prompt ( "Press ESC for the " PRODUCT_SHORT_NAME
 			  " command line...",
 			  ( ( BANNER_TIMEOUT * TICKS_PER_SEC ) / 10 ),
-			  CTRL_B ) == 0 );
+			  ESC ) == 0 );
 }
 
 /**
-- 
2.3.6




More information about the ipxe-devel mailing list