2009-03-22 Yoshinori K. Okuji <okuji@enbug.org>
* normal/main.c (grub_normal_execute): Added an argument BATCH to specify if an interactive interface should be provided after reading a config file. All callers updated. (read_command_list): Prevent being executed twice. (read_fs_list): Likewise. * include/grub/normal.h (grub_normal_execute):
This commit is contained in:
parent
fbc00b0ca1
commit
f04f02e496
4 changed files with 47 additions and 19 deletions
|
@ -75,7 +75,7 @@ typedef struct grub_menu_execute_callback
|
|||
*grub_menu_execute_callback_t;
|
||||
|
||||
void grub_enter_normal_mode (const char *config);
|
||||
void grub_normal_execute (const char *config, int nested);
|
||||
void grub_normal_execute (const char *config, int nested, int batch);
|
||||
void grub_menu_execute_with_fallback (grub_menu_t menu,
|
||||
grub_menu_entry_t entry,
|
||||
grub_menu_execute_callback_t callback,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue