Skip to content

Commit 11d2606

Browse files
authored
Merge pull request bootc-dev#619 from dustymabe/dusty-console-cfg
grub2: source in a console.cfg file if exists
2 parents 18e730f + 38b9716 commit 11d2606

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/grub2/grub-static-pre.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ elif [ -s $prefix/grubenv ]; then
3838
load_env
3939
fi
4040

41+
if [ -f $prefix/console.cfg ]; then
42+
# Source in any GRUB console settings if provided by the user/platform
43+
source $prefix/console.cfg
44+
fi
45+
4146
if [ x"${feature_menuentry_id}" = xy ]; then
4247
menuentry_id_option="--id"
4348
else

0 commit comments

Comments
 (0)