grub.cfg: also unroll the list of usb devices

fsdg20230625
Leah Rowe 2021-10-30 16:13:27 +01:00
parent f195282d90
commit ad87e84ae1
1 changed files with 5 additions and 2 deletions

View File

@ -131,7 +131,10 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o
done
fi
if [ (usb?) != "(usb?)" ]; then
usbdev=(usb*)
usblist=(usb*)
for part in ${usblist}; do
usbdev="$part $usbdev"
done
fi
set pager=0
echo -n "Attempting to cryptomount: "