diff options
| author | Michael Brown | 2010-12-04 03:51:26 +0100 |
|---|---|---|
| committer | Michael Brown | 2010-12-09 14:08:39 +0100 |
| commit | a4bb95599cfafe131ec8d63acd6d144a9b831a35 (patch) | |
| tree | 4ae61179a031e97320995acc289d072b19c08ba2 /src/config | |
| parent | [r8169] Disabling IRQs should not also acknowledge the IRQs (diff) | |
| download | ipxe-a4bb95599cfafe131ec8d63acd6d144a9b831a35.tar.gz ipxe-a4bb95599cfafe131ec8d63acd6d144a9b831a35.tar.xz ipxe-a4bb95599cfafe131ec8d63acd6d144a9b831a35.zip | |
[cmdline] Add "reboot" command
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/config.c | 3 | ||||
| -rw-r--r-- | src/config/general.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c index 5d2188812..b53af42db 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 c10312a11..9eb886514 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 |
