From beb941ed81f87d85e6ca9238622681cfbddbc142 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 14 Jan 2007 00:06:23 +0000 Subject: Rename "boot" to "autoboot" --- src/hci/commands/autoboot_cmd.c | 25 +++++++++++++++++++++++++ src/hci/commands/boot_cmd.c | 25 ------------------------- 2 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 src/hci/commands/autoboot_cmd.c delete mode 100644 src/hci/commands/boot_cmd.c (limited to 'src/hci') diff --git a/src/hci/commands/autoboot_cmd.c b/src/hci/commands/autoboot_cmd.c new file mode 100644 index 000000000..d7fb2e1fb --- /dev/null +++ b/src/hci/commands/autoboot_cmd.c @@ -0,0 +1,25 @@ +#include +#include +#include + +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, +}; diff --git a/src/hci/commands/boot_cmd.c b/src/hci/commands/boot_cmd.c deleted file mode 100644 index fd8cba740..000000000 --- a/src/hci/commands/boot_cmd.c +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include -#include - -static int boot_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 boot_command __command = { - .name = "boot", - .exec = boot_exec, -}; -- cgit v1.2.3-55-g7522