diff --git a/main.sh b/main.sh index 4c1f8b3..d49f9b6 100644 --- a/main.sh +++ b/main.sh @@ -51,6 +51,7 @@ target_phy_id() { use_efi() { if test -e /sys/firmware/efi; then EFI=1 + mount -t efivarfs efivarfs /sys/firmware/efi/efivars else EFI=0 fi