@george1421 Checking for the folder /sys/firmware/efi works perfectly so far on the systems we are testing.

If the folder exists we assign it the UEFI image, if it doesn’t exist it gets assigned the BIOS image.