Ensure secure boot options are escaped properly

This commit is contained in:
Manuel Thalmann 2024-09-23 00:24:36 +02:00
parent bf2701ba08
commit 5bbe197ec6

View file

@ -19,11 +19,11 @@ begin
sudo sed -i \
-e "/esp=/{" \
-e "a esp=\"$efiDir\"" \
-e "a esp=$(echo "$efiDir" | string escape)" \
-e "d" \
-e "}" \
-e "/bootloader_id=/{" \
-e "a bootloader_id=\"$label\"" \
-e "a bootloader_id=$(echo "$label" | string escape)" \
-e "d" \
-e "}" \
/etc/secureboot.conf