Commit 34a853cd authored by Matt Devillier's avatar Matt Devillier

coreboot_util: use enter to exit bootorder menu

Allow use of enter key for easier flow of execution
Signed-off-by: Matt Devillier's avatarMatt DeVillier <matt.devillier@puri.sm>
parent 2b63e9ed
Pipeline #5762 canceled with stages
......@@ -552,7 +552,7 @@ create_bootorder_file () {
clear
echo "Adjust the default order in which devices will attempt booting."
echo "Selecting an item will move it to the top of the list."
echo "Press 'c' to continue when done."
echo "Press [Enter] to continue when done."
echo ""
for ((i=0; i <= $((${#options[@]} - 1)); ++i))
do
......@@ -563,6 +563,7 @@ create_bootorder_file () {
echo "** select a different boot device by pressing 'ESC' at boot time."
echo ""
read -r -p "Enter your choice: " bootorder
[[ "$bootorder" == "" ]] && bootorder="c"
case $bootorder in
1)
# already at top, nothing to do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment