mirror of
https://github.com/ipxe/ipxe
synced 2026-01-03 18:31:03 +03:00
Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
28 lines
459 B
C
28 lines
459 B
C
#include <stdio.h>
|
|
#include <ipxe/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,
|
|
};
|