grub.cfg: scan grub2/ last

it's very unlikely that someone would use this
directory name nowadays, and i had half a mind
to remove it altogether

Signed-off-by: Leah Rowe <leah@libreboot.org>
Leah Rowe 2024-06-01 17:33:12 +01:00
parent 18d03623e0
commit afb1922e73
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ function really_try_user_config {
function try_user_config {
# The @/... entries are for cases where the BTRFS filesystem is being used
for dir in boot grub grub2 boot/grub boot/grub2 @/boot @/grub @/grub2 @/boot/grub @/boot/grub2; do
for dir in boot grub boot/grub @/boot @/grub @/boot/grub grub2 boot/grub2 @/grub2 @/boot/grub2; do
really_try_user_config "${1}" "${dir}"
done
for dir in ubuntu debian redhat; do