Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
10b80f26
"...git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "1a74819d83d97a7ae15b9f3dbe2d22054726df03"
Commit
10b80f26
authored
Sep 12, 2022
by
longpanda
Browse files
Add w and r hotkey for WIMBOOT and GRUB2 mode. (#1837)
parent
36c21a21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
GRUB2/MOD_SRC/grub-2.04/grub-core/normal/menu.c
GRUB2/MOD_SRC/grub-2.04/grub-core/normal/menu.c
+2
-0
No files found.
GRUB2/MOD_SRC/grub-2.04/grub-core/normal/menu.c
View file @
10b80f26
...
@@ -945,12 +945,14 @@ run_menu (grub_menu_t menu, int nested, int *auto_boot)
...
@@ -945,12 +945,14 @@ run_menu (grub_menu_t menu, int nested, int *auto_boot)
goto
refresh
;
goto
refresh
;
case
(
GRUB_TERM_CTRL
|
'r'
):
case
(
GRUB_TERM_CTRL
|
'r'
):
case
'r'
:
menu_fini
();
menu_fini
();
g_ventoy_grub2_mode
=
1
-
g_ventoy_grub2_mode
;
g_ventoy_grub2_mode
=
1
-
g_ventoy_grub2_mode
;
g_ventoy_menu_refresh
=
1
;
g_ventoy_menu_refresh
=
1
;
goto
refresh
;
goto
refresh
;
case
(
GRUB_TERM_CTRL
|
'w'
):
case
(
GRUB_TERM_CTRL
|
'w'
):
case
'w'
:
menu_fini
();
menu_fini
();
g_ventoy_wimboot_mode
=
1
-
g_ventoy_wimboot_mode
;
g_ventoy_wimboot_mode
=
1
-
g_ventoy_wimboot_mode
;
g_ventoy_menu_refresh
=
1
;
g_ventoy_menu_refresh
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment