Split the (quick hack) boot logic out from main.c to autoboot.c, add a

"boot" command to attempt booting from within the command shell, fall back
to shell if boot fails for any reason.
This commit is contained in:
Michael Brown
2006-12-20 07:04:08 +00:00
parent 9ab17484d0
commit 84202d89f0
7 changed files with 85 additions and 14 deletions
+3
View File
@@ -143,6 +143,9 @@ REQUIRE_OBJECT ( pxe );
* Drag in all requested commands
*
*/
#ifdef BOOT_CMD
REQUIRE_OBJECT ( boot_cmd );
#endif
#ifdef NVO_CMD
REQUIRE_OBJECT ( nvo_cmd );
#endif