Looks like there's another option, based on redhat's efi tools -- appears to have been (mostly?) ported to BSDs already: https://github.com/3mdeb/efivar/ Currently in pkgsrc-wip at wip/efibootmgr and wip/efivar (but no efidp like FreeBSD).