summaryrefslogtreecommitdiff
path: root/gpxe/src/hci/commands/autoboot_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/hci/commands/autoboot_cmd.c')
-rw-r--r--gpxe/src/hci/commands/autoboot_cmd.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/gpxe/src/hci/commands/autoboot_cmd.c b/gpxe/src/hci/commands/autoboot_cmd.c
deleted file mode 100644
index 95b172d1..00000000
--- a/gpxe/src/hci/commands/autoboot_cmd.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <stdio.h>
-#include <gpxe/command.h>
-#include <usr/autoboot.h>
-
-FILE_LICENCE ( GPL2_OR_LATER );
-
-static int autoboot_exec ( int argc, char **argv ) {
-
- if ( argc != 1 ) {
- printf ( "Usage:\n"
- " %s\n"
- "\n"
- "Attempts to boot the system\n",
- argv[0] );
- return 1;
- }
-
- autoboot();
-
- /* Can never return success by definition */
- return 1;
-}
-
-struct command autoboot_command __command = {
- .name = "autoboot",
- .exec = autoboot_exec,
-};