summaryrefslogtreecommitdiffstats
path: root/src/core/config.c
diff options
context:
space:
mode:
authorMichael Brown2009-06-28 21:50:23 +0200
committerMichael Brown2009-06-28 21:50:23 +0200
commit546cc62394e12aa04eb16da8a47edd7d93869023 (patch)
treee44baa3af9d1977f5d0646c57e6ffca05726c03b /src/core/config.c
parent[ifmgmt] Move ifmgmt_cmd.h to include/hci (diff)
downloadipxe-546cc62394e12aa04eb16da8a47edd7d93869023.tar.gz
ipxe-546cc62394e12aa04eb16da8a47edd7d93869023.tar.xz
ipxe-546cc62394e12aa04eb16da8a47edd7d93869023.zip
[pxe] Add startpxe and stoppxe commands
These commands can be used to activate or deactivate the PXE API (on a specifiable network interface). This is currently of limited use, since most image formats will call shutdown() before booting the image, meaning that the underlying net device gets shut down during remove_devices() anyway.
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 ecaf781f..4562e3a4 100644
--- a/src/core/config.c
+++ b/src/core/config.c
@@ -204,6 +204,9 @@ REQUIRE_OBJECT ( time_cmd );
#ifdef DIGEST_CMD
REQUIRE_OBJECT ( digest_cmd );
#endif
+#ifdef PXE_CMD
+REQUIRE_OBJECT ( pxe_cmd );
+#endif
/*
* Drag in miscellaneous objects