module start "bootloader" "Post Bootloader" if test -d /sys/firmware/efi; then grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id="Void" else grub-install "${cfg[diskname]}" fi grub-mkconfig -o /boot/grub/grub.cfg module end