[cmdline] Add "poweroff" command

Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Marin Hannache <git@mareo.fr>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Marin Hannache
2013-07-13 14:31:15 +02:00
committed by Michael Brown
parent 9b93b669d1
commit c0af8c0433
9 changed files with 226 additions and 0 deletions

View File

@@ -242,6 +242,9 @@ REQUIRE_OBJECT ( lotest_cmd );
#ifdef VLAN_CMD
REQUIRE_OBJECT ( vlan_cmd );
#endif
#ifdef POWEROFF_CMD
REQUIRE_OBJECT ( poweroff_cmd );
#endif
#ifdef REBOOT_CMD
REQUIRE_OBJECT ( reboot_cmd );
#endif

View File

@@ -126,6 +126,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
//#define VLAN_CMD /* VLAN commands */
//#define PXE_CMD /* PXE commands */
//#define REBOOT_CMD /* Reboot command */
//#define POWEROFF_CMD /* Power off command */
//#define IMAGE_TRUST_CMD /* Image trust management commands */
/*