[release] Update version to 1.0.0 for release
[gpxe.git] / src / hci / commands / autoboot_cmd.c
blob95b172d10715f336e63ca0bc046e2c0cedb5c7f8
1 #include <stdio.h>
2 #include <gpxe/command.h>
3 #include <usr/autoboot.h>
5 FILE_LICENCE ( GPL2_OR_LATER );
7 static int autoboot_exec ( int argc, char **argv ) {
9 if ( argc != 1 ) {
10 printf ( "Usage:\n"
11 " %s\n"
12 "\n"
13 "Attempts to boot the system\n",
14 argv[0] );
15 return 1;
18 autoboot();
20 /* Can never return success by definition */
21 return 1;
24 struct command autoboot_command __command = {
25 .name = "autoboot",
26 .exec = autoboot_exec,