mirror of https://github.com/ipxe/ipxe.git
Slightly tidied up console messages.
parent
cb883b3faf
commit
e852f8e504
|
@ -17,6 +17,7 @@ void cmdl_start()
|
||||||
|
|
||||||
//printf("gPXE %s (GPL) etherboot.org ... ", VERSION);
|
//printf("gPXE %s (GPL) etherboot.org ... ", VERSION);
|
||||||
printf("gPXE %s (GPL) etherboot.org\n", VERSION);
|
printf("gPXE %s (GPL) etherboot.org\n", VERSION);
|
||||||
|
printf("Press Ctrl-B for gPXE command line...");
|
||||||
|
|
||||||
stop = currticks() + CMDL_DELAY;
|
stop = currticks() + CMDL_DELAY;
|
||||||
|
|
||||||
|
@ -29,12 +30,11 @@ void cmdl_start()
|
||||||
|
|
||||||
if(iskey()){
|
if(iskey()){
|
||||||
if(getchar() == 2){
|
if(getchar() == 2){
|
||||||
putchar('\n');
|
printf("\n\n");
|
||||||
cmdl_exec_cmdline();
|
cmdl_exec_cmdline();
|
||||||
break;
|
break;
|
||||||
}else{
|
}else{
|
||||||
putchar('\n');
|
printf("skipping.\n");
|
||||||
printf("Skipping command line.\n");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,9 +71,6 @@ void cmdl_exec_cmdline(){
|
||||||
|
|
||||||
cmdl_setpropmt(cmd, "gPXE>");
|
cmdl_setpropmt(cmd, "gPXE>");
|
||||||
|
|
||||||
printf("Welcome to Etherboot\n\n");
|
|
||||||
|
|
||||||
|
|
||||||
cmdl_enterloop(cmd);
|
cmdl_enterloop(cmd);
|
||||||
|
|
||||||
cmdl_free(cmd);
|
cmdl_free(cmd);
|
||||||
|
|
|
@ -548,11 +548,11 @@ cmd_line* cmdl_create()
|
||||||
|
|
||||||
struct command *cmd;
|
struct command *cmd;
|
||||||
|
|
||||||
printf ( "Compiled in commands: ");
|
printf ( "Available commands: ");
|
||||||
for ( cmd = cmd_start ; cmd < cmd_end ; cmd++ ) {
|
for ( cmd = cmd_start ; cmd < cmd_end ; cmd++ ) {
|
||||||
printf("%s ", cmd->name);
|
printf("%s ", cmd->name);
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("exit\n\n");
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue