diff options
| author | Michael Brown | 2007-01-14 01:06:23 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-14 01:06:23 +0100 |
| commit | beb941ed81f87d85e6ca9238622681cfbddbc142 (patch) | |
| tree | cc4d03823895590e2fe8b68d2c84ef3c52e22b53 | |
| parent | Use _text, rather than assuming _text==0. (diff) | |
| download | ipxe-beb941ed81f87d85e6ca9238622681cfbddbc142.tar.gz ipxe-beb941ed81f87d85e6ca9238622681cfbddbc142.tar.xz ipxe-beb941ed81f87d85e6ca9238622681cfbddbc142.zip | |
Rename "boot" to "autoboot"
| -rw-r--r-- | src/config.h | 2 | ||||
| -rw-r--r-- | src/core/config.c | 4 | ||||
| -rw-r--r-- | src/hci/commands/autoboot_cmd.c (renamed from src/hci/commands/boot_cmd.c) | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/config.h b/src/config.h index a219d6454..3748a4c04 100644 --- a/src/config.h +++ b/src/config.h @@ -116,7 +116,7 @@ * Command-line commands to include * */ -#define BOOT_CMD /* Automatic booting */ +#define AUTOBOOT_CMD /* Automatic booting */ #define NVO_CMD /* Non-volatile option storage commands */ #define CONFIG_CMD /* Option configuration console */ #define IFMGMT_CMD /* Interface management commands */ diff --git a/src/core/config.c b/src/core/config.c index b27ad6c1e..31ae8d5a9 100644 --- a/src/core/config.c +++ b/src/core/config.c @@ -145,8 +145,8 @@ REQUIRE_OBJECT ( script ); * Drag in all requested commands * */ -#ifdef BOOT_CMD -REQUIRE_OBJECT ( boot_cmd ); +#ifdef AUTOBOOT_CMD +REQUIRE_OBJECT ( autoboot_cmd ); #endif #ifdef NVO_CMD REQUIRE_OBJECT ( nvo_cmd ); diff --git a/src/hci/commands/boot_cmd.c b/src/hci/commands/autoboot_cmd.c index fd8cba740..d7fb2e1fb 100644 --- a/src/hci/commands/boot_cmd.c +++ b/src/hci/commands/autoboot_cmd.c @@ -2,7 +2,7 @@ #include <gpxe/command.h> #include <usr/autoboot.h> -static int boot_exec ( int argc, char **argv ) { +static int autoboot_exec ( int argc, char **argv ) { if ( argc != 1 ) { printf ( "Usage:\n" @@ -19,7 +19,7 @@ static int boot_exec ( int argc, char **argv ) { return 1; } -struct command boot_command __command = { - .name = "boot", - .exec = boot_exec, +struct command autoboot_command __command = { + .name = "autoboot", + .exec = autoboot_exec, }; |
