summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/grub/config/grub.cfg10
1 files changed, 4 insertions, 6 deletions
diff --git a/config/grub/config/grub.cfg b/config/grub/config/grub.cfg
index 5a6abd44..29313cf5 100644
--- a/config/grub/config/grub.cfg
+++ b/config/grub/config/grub.cfg
@@ -66,12 +66,10 @@ function try_user_config {
# The @/... entries are for cases where the BTRFS filesystem is being used
for dir in boot grub grub2 boot/grub boot/grub2 @/boot @/grub @/grub2 @/boot/grub @/boot/grub2; do
- for name in '' osboot_ autoboot_ libreboot_ coreboot_; do
- if [ -f /"${dir}"/"${name}"grub.cfg ]; then
- unset superusers
- configfile /"${dir}"/"${name}"grub.cfg
- fi
- done
+ if [ -f /"${dir}"/grub.cfg ]; then
+ unset superusers
+ configfile /"${dir}"/grub.cfg
+ fi
done
}
function search_grub {