1 |
/* |
/* |
2 |
* GRUB -- GRand Unified Bootloader |
* GRUB -- GRand Unified Bootloader |
3 |
* Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
* Copyright (C) 2003,2005 Free Software Foundation, Inc. |
4 |
* |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
6 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
382 |
grub_register_command ("title", 0, GRUB_COMMAND_FLAG_TITLE, 0, 0, 0); |
grub_register_command ("title", 0, GRUB_COMMAND_FLAG_TITLE, 0, 0, 0); |
383 |
|
|
384 |
grub_register_command ("rescue", rescue_command, GRUB_COMMAND_FLAG_BOTH, |
grub_register_command ("rescue", rescue_command, GRUB_COMMAND_FLAG_BOTH, |
385 |
"rescue", "Enter into the rescue mode.", 0); |
"rescue", "Go back to the rescue mode.", 0); |
386 |
|
|
387 |
grub_register_command ("set", set_command, GRUB_COMMAND_FLAG_BOTH, |
grub_register_command ("set", set_command, GRUB_COMMAND_FLAG_BOTH, |
388 |
"set [ENVVAR=VALUE]", "Set an environment variable.", 0); |
"set [ENVVAR=VALUE]", |
389 |
|
"Set an environment variable.", 0); |
390 |
|
|
391 |
grub_register_command ("unset", unset_command, GRUB_COMMAND_FLAG_BOTH, |
grub_register_command ("unset", unset_command, GRUB_COMMAND_FLAG_BOTH, |
392 |
"unset ENVVAR", "Remove an environment variable.", 0); |
"unset ENVVAR", "Remove an environment variable.", 0); |
393 |
|
|
394 |
grub_register_command ("insmod", insmod_command, GRUB_COMMAND_FLAG_BOTH, |
grub_register_command ("insmod", insmod_command, GRUB_COMMAND_FLAG_BOTH, |
395 |
"insmod MODULE|FILE", "Insert a module.", 0); |
"insmod MODULE", |
396 |
|
"Insert a module. The argument can be a file or a module name.", |
397 |
|
0); |
398 |
|
|
399 |
grub_register_command ("rmmod", rmmod_command, GRUB_COMMAND_FLAG_BOTH, |
grub_register_command ("rmmod", rmmod_command, GRUB_COMMAND_FLAG_BOTH, |
400 |
"rmmod MODULE", "Remove a module.", 0); |
"rmmod MODULE", "Remove a module.", 0); |