2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 23:31:39 +00:00

Rename "boot" to "autoboot"

This commit is contained in:
Michael Brown 2007-01-14 00:06:23 +00:00
parent ece4ff929e
commit beb941ed81
3 changed files with 7 additions and 7 deletions

View File

@ -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 */

View File

@ -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 );

View File

@ -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,
};