grub.cfg: replace spaces with tabs

This commit is contained in:
Leah Rowe 2021-10-31 17:55:49 +00:00
parent 37ebccb8a8
commit de9dabe43d
1 changed files with 7 additions and 7 deletions

View File

@ -44,7 +44,7 @@ function try_user_config {
for dir in boot grub grub2 boot/grub boot/grub2; do for dir in 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
configfile /"${dir}"/"${name}"grub.cfg configfile /"${dir}"/"${name}"grub.cfg
fi fi
done done
@ -127,13 +127,13 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o
if [ (ahci?) != "(ahci?)" ]; then if [ (ahci?) != "(ahci?)" ]; then
ahcilist=(ahci*) ahcilist=(ahci*)
for part in ${ahcilist}; do for part in ${ahcilist}; do
ahcidev="$part $ahcidev" ahcidev="$part $ahcidev"
done done
fi fi
if [ (ata?) != "(ata?)" ]; then if [ (ata?) != "(ata?)" ]; then
atalist=(ata*) atalist=(ata*)
for part in ${atalist}; do for part in ${atalist}; do
atadev="$part $atadev" atadev="$part $atadev"
done done
fi fi
set pager=0 set pager=0
@ -222,14 +222,14 @@ menuentry 'Search for GRUB2 configuration on external media [s]' --hotkey='s' {
} }
if [ -f (cbfsdisk)/seabios.elf ]; then if [ -f (cbfsdisk)/seabios.elf ]; then
menuentry 'Load SeaBIOS (payload) [b]' --hotkey='b' { menuentry 'Load SeaBIOS (payload) [b]' --hotkey='b' {
set root='cbfsdisk' set root='cbfsdisk'
chainloader /seabios.elf chainloader /seabios.elf
} }
fi fi
if [ -f (cbfsdisk)/img/grub2 ]; then if [ -f (cbfsdisk)/img/grub2 ]; then
menuentry 'Return to SeaBIOS [b]' --hotkey='b' { menuentry 'Return to SeaBIOS [b]' --hotkey='b' {
set root='cbfsdisk' set root='cbfsdisk'
chainloader /fallback/payload chainloader /fallback/payload
} }
fi fi
menuentry 'Poweroff [p]' --hotkey='p' { menuentry 'Poweroff [p]' --hotkey='p' {