From 60794355b970cb931bfe9e893961591d11220b2d Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Thu, 3 Sep 2015 03:06:25 +0100 Subject: grub.cfg cbfs: put set root and unset superusers in the submenu --- resources/grub/config/menuentries/common.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/grub/config') diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg index 997f7317..3092d90d 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 -- cgit v1.2.3-70-g09d2