Replace bootloader id of secure boot config properly

This commit is contained in:
Manuel Thalmann 2024-03-09 00:07:58 +01:00
parent 76863db3a8
commit 3c6c6dce0e

View file

@ -11,6 +11,10 @@ sudo sed -i \
-e "a esp=\"$EFI_BOOT_DIR\"" \ -e "a esp=\"$EFI_BOOT_DIR\"" \
-e "d" \ -e "d" \
-e "}" \ -e "}" \
-e "/bootloader_id=/{" \
-e "a bootloader_id=\"$BOOTLOADER_ID\"" \
-e "d" \
-e "}" \
/etc/secureboot.conf; /etc/secureboot.conf;
sudo secure-grub-install; sudo secure-grub-install;