mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 18:34:57 +02:00
Merge pull request 'Update config/grub/config/grub.cfg' (#167) from semigel/lbmk:semigel-btrfs-subvol-patch-1 into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/167
This commit is contained in:
@@ -46,7 +46,9 @@ fi
|
|||||||
|
|
||||||
function try_user_config {
|
function try_user_config {
|
||||||
set root="${1}"
|
set root="${1}"
|
||||||
for dir in boot grub grub2 boot/grub boot/grub2; do
|
|
||||||
|
# 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 name in '' osboot_ autoboot_ libreboot_ coreboot_; do
|
for name in '' osboot_ autoboot_ libreboot_ coreboot_; do
|
||||||
if [ -f /"${dir}"/"${name}"grub.cfg ]; then
|
if [ -f /"${dir}"/"${name}"grub.cfg ]; then
|
||||||
unset superusers
|
unset superusers
|
||||||
|
|||||||
Reference in New Issue
Block a user