2010-01-07 Robert Millan <rmh.grub@aybabtu.com>
2010-01-07 Vladimir Serbinenko <phcoder@gmail.com> Fix breakage introduced with previous commit. * normal/dyncmd.c (read_command_list): Avoid unregistering kernel commands. * normal/handler.c (read_handler_list): Revert part of previous commit affecting this file. * normal/main.c (read_lists): Move read_handler_list() call back to ... (grub_normal_execute): ... here.
This commit is contained in:
commit
53108d92ba
4 changed files with 32 additions and 16 deletions
|
@ -424,7 +424,6 @@ read_lists (struct grub_env_var *var __attribute__ ((unused)),
|
|||
{
|
||||
read_command_list ();
|
||||
read_fs_list ();
|
||||
read_handler_list ();
|
||||
read_crypto_list ();
|
||||
return val ? grub_strdup (val) : NULL;
|
||||
}
|
||||
|
@ -437,6 +436,7 @@ grub_normal_execute (const char *config, int nested, int batch)
|
|||
grub_menu_t menu = 0;
|
||||
|
||||
read_lists (NULL, NULL);
|
||||
read_handler_list ();
|
||||
grub_register_variable_hook ("prefix", NULL, read_lists);
|
||||
grub_command_execute ("parser.grub", 0, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue