#!/bin/bash # This command will sign the grubx64.efi with the personal key - adding it to the allowed Database DB.crt sbsign --key /etc/efikeys/custom_config/db.key --cert /etc/efikeys/custom_config/db.crt /boot/EFI/gentoo/grubx64.efi --output /boot/EFI/gentoo/grubx64.efi.signed.sig