Skip to content

Commit 741e9a5

Browse files
committed
grub2: add support for menu_show_once_timeout
1 parent 683eb9d commit 741e9a5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Force the menu to be shown once, with a timeout of ${menu_show_once_timeout}
2+
# if requested by ${menu_show_once_timeout} being set in the env.
3+
if [ "${menu_show_once_timeout}" ]; then
4+
set timeout_style=menu
5+
set timeout="${menu_show_once_timeout}"
6+
unset menu_show_once_timeout
7+
save_env menu_show_once_timeout
8+
fi

0 commit comments

Comments
 (0)