aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Pässler <milan@petabyte.dev>2020-11-03 15:46:04 +0100
committerMilan Pässler <milan@petabyte.dev>2020-11-03 15:46:04 +0100
commit4c4cffdb3c2cd54c12f16b76d154c484640fca3c (patch)
treeed769e56238c452fa2554a58f54f2d03e9978b79
parentd5fe9ec7598dd8297388a415816a20493af53520 (diff)
grub2: fix some issues with usb scan
-rw-r--r--modules/grub2/files/grub-scan.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/grub2/files/grub-scan.cfg b/modules/grub2/files/grub-scan.cfg
index f6761b7bcbcc..5aced43ebc3b 100644
--- a/modules/grub2/files/grub-scan.cfg
+++ b/modules/grub2/files/grub-scan.cfg
@@ -1,11 +1,11 @@
-for x in (ahci*,*) (usb*.*) ; do
+for x in (ahci*,*) (usb*,*) ; do
if [ -f "${x}/netbsd" ] ; then
menuentry "Load NetBSD from $x" $x {
root=$2
knetbsd /netbsd
}
fi
- for path in '' /grub /grub2 /boot /boot/grub /boot/grub2; do
+ for path in '' /grub /grub2 /boot /boot/grub /boot/grub2 /efi/boot; do
if [ -f "${x}${path}/grub.cfg" ] ; then
menuentry "Load config from ${x}" $x $path {
root=$2