summaryrefslogtreecommitdiffstats
path: root/resources/grub/config
diff options
context:
space:
mode:
Diffstat (limited to 'resources/grub/config')
-rw-r--r--resources/grub/config/menuentries/common.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg
index 997f731..3092d90 100644
--- a/resources/grub/config/menuentries/common.cfg
+++ b/resources/grub/config/menuentries/common.cfg
@@ -127,11 +127,11 @@ menuentry 'Search for GRUB configuration (grub.cfg) outside of CBFS' {
x="(${i},${j})"
for p in "grub" "boot/grub" "grub2" "boot/grub2"; do
if [ -f "${x}/${p}/grub.cfg" ] ; then
- root=$2
submenu "Load Config from ${x}" ${x} {
+ root=$2
source /${p}/grub.cfg
+ unset superusers
}
- unset superusers
fi
done
done