Align grub command indentation
This commit is contained in:
parent
627aa676c4
commit
5d3ef48ac7
@ -1729,17 +1729,17 @@ setup_grub()
|
|||||||
luks_pass "$_LuksOpen" "" || return 1
|
luks_pass "$_LuksOpen" "" || return 1
|
||||||
fi
|
fi
|
||||||
BCMDS[grub]="mount -t efivarfs efivarfs $efidir/efivars || true &&
|
BCMDS[grub]="mount -t efivarfs efivarfs $efidir/efivars || true &&
|
||||||
${BCMDS[grub]} --bootloader-id=$DIST"
|
${BCMDS[grub]} --bootloader-id=$DIST"
|
||||||
|
|
||||||
grep -q $efidir/efivars <<< "$(mount)" || mount -t efivarfs efivarfs $efidir/efivars
|
grep -q $efidir/efivars <<< "$(mount)" || mount -t efivarfs efivarfs $efidir/efivars
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BCMDS[grub]="mkdir -p /run/udev /run/lvm &&
|
BCMDS[grub]="mkdir -p /run/udev /run/lvm &&
|
||||||
mount --bind /hostrun/udev /run/udev &&
|
mount --bind /hostrun/udev /run/udev &&
|
||||||
mount --bind /hostrun/lvm /run/lvm &&
|
mount --bind /hostrun/lvm /run/lvm &&
|
||||||
${BCMDS[grub]} &&
|
${BCMDS[grub]} &&
|
||||||
grub-mkconfig -o /boot/grub/grub.cfg &&
|
grub-mkconfig -o /boot/grub/grub.cfg &&
|
||||||
sleep 1 && umount /run/udev /run/lvm"
|
sleep 1 && umount /run/udev /run/lvm"
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user