mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +03:00
[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:
committed by
Michael Brown
parent
9b93b669d1
commit
c0af8c0433
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user