grub.cfg: also unroll the list of usb devices
This commit is contained in:
parent
f195282d90
commit
ad87e84ae1
|
@ -117,7 +117,7 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o
|
||||||
#TODO: Pick better variable name scheme than ${ddev}, or find way to make it local
|
#TODO: Pick better variable name scheme than ${ddev}, or find way to make it local
|
||||||
unset ahcidev
|
unset ahcidev
|
||||||
unset atadev
|
unset atadev
|
||||||
unset usbdev
|
unset usbdev
|
||||||
if [ (ahci?) != "(ahci?)" ]; then
|
if [ (ahci?) != "(ahci?)" ]; then
|
||||||
ahcilist=(ahci*)
|
ahcilist=(ahci*)
|
||||||
for part in ${ahcilist}; do
|
for part in ${ahcilist}; do
|
||||||
|
@ -131,7 +131,10 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
if [ (usb?) != "(usb?)" ]; then
|
if [ (usb?) != "(usb?)" ]; then
|
||||||
usbdev=(usb*)
|
usblist=(usb*)
|
||||||
|
for part in ${usblist}; do
|
||||||
|
usbdev="$part $usbdev"
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
set pager=0
|
set pager=0
|
||||||
echo -n "Attempting to cryptomount: "
|
echo -n "Attempting to cryptomount: "
|
||||||
|
|
Loading…
Reference in New Issue