7 lines
329 B
Bash
7 lines
329 B
Bash
#!/bin/bash
|
|
C=/path/to/pf/Ventoy/keys/ventoy.crt
|
|
for f in /mnt/f/efi/Paravis/Boot/gfm/x86.efi /mnt/f/efi/Paravis/Boot/super/x86.efi /mnt/f/efi/Paravis/Boot/gfm/x64.efi /mnt/f/efi/Paravis/Boot/super/x64.efi; do
|
|
printf '%-46s ' "${f#/mnt/f/}"
|
|
if sbverify --cert "$C" "$f" >/dev/null 2>&1; then echo OK; else echo FAIL; fi
|
|
done
|