aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2010-12-04 02:51:26 +0000
committerMichael Brown <mcb30@ipxe.org>2010-12-09 13:08:39 +0000
commita4bb95599cfafe131ec8d63acd6d144a9b831a35 (patch)
tree4ae61179a031e97320995acc289d072b19c08ba2 /src/config
parent88b9b776cfe29ef6b1b4411bca89bac6000e44c5 (diff)
downloadipxe-a4bb95599cfafe131ec8d63acd6d144a9b831a35.zip
ipxe-a4bb95599cfafe131ec8d63acd6d144a9b831a35.tar.gz
ipxe-a4bb95599cfafe131ec8d63acd6d144a9b831a35.tar.bz2
[cmdline] Add "reboot" command
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.c3
-rw-r--r--src/config/general.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 5d21888..b53af42 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -237,6 +237,9 @@ REQUIRE_OBJECT ( lotest_cmd );
#ifdef VLAN_CMD
REQUIRE_OBJECT ( vlan_cmd );
#endif
+#ifdef REBOOT_CMD
+REQUIRE_OBJECT ( reboot_cmd );
+#endif
/*
* Drag in miscellaneous objects
diff --git a/src/config/general.h b/src/config/general.h
index c10312a..9eb8865 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -125,6 +125,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#undef LOTEST_CMD /* Loopback testing commands */
#undef VLAN_CMD /* VLAN commands */
#undef PXE_CMD /* PXE commands */
+#undef REBOOT_CMD /* Reboot command */
/*
* Error message tables to include