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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user