Skip to content

Commit

Permalink
Merge pull request coreos#619 from dustymabe/dusty-console-cfg
Browse files Browse the repository at this point in the history
grub2: source in a console.cfg file if exists
  • Loading branch information
jmarrero committed Feb 21, 2024
2 parents 18e730f + 38b9716 commit 11d2606
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/grub2/grub-static-pre.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ elif [ -s $prefix/grubenv ]; then
load_env
fi

if [ -f $prefix/console.cfg ]; then
# Source in any GRUB console settings if provided by the user/platform
source $prefix/console.cfg
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
Expand Down

0 comments on commit 11d2606

Please sign in to comment.