summaryrefslogtreecommitdiffstats
path: root/src/core/config.c
diff options
context:
space:
mode:
authorMichael Brown2006-12-20 08:04:08 +0100
committerMichael Brown2006-12-20 08:04:08 +0100
commit84202d89f0fa83790a4d3f78119f1fb62c1b3d9b (patch)
tree066eba0ee9db7e82922e662e7d6e5c29ac59d021 /src/core/config.c
parentExplicitly call erase(), to cope with platforms where the ANSI clear (diff)
downloadipxe-84202d89f0fa83790a4d3f78119f1fb62c1b3d9b.tar.gz
ipxe-84202d89f0fa83790a4d3f78119f1fb62c1b3d9b.tar.xz
ipxe-84202d89f0fa83790a4d3f78119f1fb62c1b3d9b.zip
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.
Diffstat (limited to 'src/core/config.c')
-rw-r--r--src/core/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/config.c b/src/core/config.c
index c8ec9362..b501ea55 100644
--- a/src/core/config.c
+++ b/src/core/config.c
@@ -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