mirror of https://github.com/ipxe/ipxe.git
Rename "boot" to "autoboot"
parent
ece4ff929e
commit
beb941ed81
|
@ -116,7 +116,7 @@
|
||||||
* Command-line commands to include
|
* Command-line commands to include
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define BOOT_CMD /* Automatic booting */
|
#define AUTOBOOT_CMD /* Automatic booting */
|
||||||
#define NVO_CMD /* Non-volatile option storage commands */
|
#define NVO_CMD /* Non-volatile option storage commands */
|
||||||
#define CONFIG_CMD /* Option configuration console */
|
#define CONFIG_CMD /* Option configuration console */
|
||||||
#define IFMGMT_CMD /* Interface management commands */
|
#define IFMGMT_CMD /* Interface management commands */
|
||||||
|
|
|
@ -145,8 +145,8 @@ REQUIRE_OBJECT ( script );
|
||||||
* Drag in all requested commands
|
* Drag in all requested commands
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifdef BOOT_CMD
|
#ifdef AUTOBOOT_CMD
|
||||||
REQUIRE_OBJECT ( boot_cmd );
|
REQUIRE_OBJECT ( autoboot_cmd );
|
||||||
#endif
|
#endif
|
||||||
#ifdef NVO_CMD
|
#ifdef NVO_CMD
|
||||||
REQUIRE_OBJECT ( nvo_cmd );
|
REQUIRE_OBJECT ( nvo_cmd );
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#include <gpxe/command.h>
|
#include <gpxe/command.h>
|
||||||
#include <usr/autoboot.h>
|
#include <usr/autoboot.h>
|
||||||
|
|
||||||
static int boot_exec ( int argc, char **argv ) {
|
static int autoboot_exec ( int argc, char **argv ) {
|
||||||
|
|
||||||
if ( argc != 1 ) {
|
if ( argc != 1 ) {
|
||||||
printf ( "Usage:\n"
|
printf ( "Usage:\n"
|
||||||
|
@ -19,7 +19,7 @@ static int boot_exec ( int argc, char **argv ) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct command boot_command __command = {
|
struct command autoboot_command __command = {
|
||||||
.name = "boot",
|
.name = "autoboot",
|
||||||
.exec = boot_exec,
|
.exec = autoboot_exec,
|
||||||
};
|
};
|
Loading…
Reference in New Issue