log efibootmgr

This commit is contained in:
Tobias Powalowski 2023-06-23 10:33:55 +02:00
parent ae4b9dac3b
commit f850babe1f

View file

@ -164,7 +164,7 @@ _do_uefi_common() {
_do_uefi_efibootmgr() {
for _bootnum in $(efibootmgr | grep '^Boot[0-9]' | grep -F -i "${_BOOTMGR_LABEL}" | cut -b5-8) ; do
efibootmgr --quiet -b "${_bootnum}" -B
efibootmgr --quiet -b "${_bootnum}" -B >> "${LOG}"
done
_BOOTMGRDEV=$(${_LSBLK} PKNAME "${_UEFISYSDEV}")
_BOOTMGRNUM=$(echo "${_UEFISYSDEV}" | sed -e "s#${_BOOTMGRDEV}##g" | sed -e 's#p##g')