summaryrefslogtreecommitdiffstats
path: root/src/hci/commands/poweroff_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hci/commands/poweroff_cmd.c')
-rw-r--r--src/hci/commands/poweroff_cmd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/hci/commands/poweroff_cmd.c b/src/hci/commands/poweroff_cmd.c
index afdf12dde..63aeb3d5b 100644
--- a/src/hci/commands/poweroff_cmd.c
+++ b/src/hci/commands/poweroff_cmd.c
@@ -29,6 +29,7 @@
#include <ipxe/reboot.h>
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/** @file
*
@@ -70,7 +71,4 @@ static int poweroff_exec ( int argc, char **argv ) {
}
/** "poweroff" command */
-struct command poweroff_command __command = {
- .name = "poweroff",
- .exec = poweroff_exec,
-};
+COMMAND ( poweroff, poweroff_exec );