summaryrefslogtreecommitdiffstats
path: root/src/commandline/cmdline.c
diff options
context:
space:
mode:
authorMichael Brown2006-12-05 11:14:58 +0100
committerMichael Brown2006-12-05 11:14:58 +0100
commite852f8e504a70348fe0259078db9926a452dacd1 (patch)
tree1b37aa28151cd06eefbd87a0fae4e20fb160fb0e /src/commandline/cmdline.c
parentChange some debugging messages to use DBG() (diff)
downloadipxe-e852f8e504a70348fe0259078db9926a452dacd1.tar.gz
ipxe-e852f8e504a70348fe0259078db9926a452dacd1.tar.xz
ipxe-e852f8e504a70348fe0259078db9926a452dacd1.zip
Slightly tidied up console messages.
Diffstat (limited to 'src/commandline/cmdline.c')
-rw-r--r--src/commandline/cmdline.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/commandline/cmdline.c b/src/commandline/cmdline.c
index 286321967..6ae33bd37 100644
--- a/src/commandline/cmdline.c
+++ b/src/commandline/cmdline.c
@@ -17,6 +17,7 @@ void cmdl_start()
//printf("gPXE %s (GPL) etherboot.org ... ", VERSION);
printf("gPXE %s (GPL) etherboot.org\n", VERSION);
+ printf("Press Ctrl-B for gPXE command line...");
stop = currticks() + CMDL_DELAY;
@@ -29,12 +30,11 @@ void cmdl_start()
if(iskey()){
if(getchar() == 2){
- putchar('\n');
+ printf("\n\n");
cmdl_exec_cmdline();
break;
}else{
- putchar('\n');
- printf("Skipping command line.\n");
+ printf("skipping.\n");
break;
}
}
@@ -71,9 +71,6 @@ void cmdl_exec_cmdline(){
cmdl_setpropmt(cmd, "gPXE>");
- printf("Welcome to Etherboot\n\n");
-
-
cmdl_enterloop(cmd);
cmdl_free(cmd);