diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-09-02 22:06:25 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-09-02 22:06:25 (EDT) |
commit | 60794355b970cb931bfe9e893961591d11220b2d (patch) | |
tree | 5fc8c082e84a0a32ee2c9b0cad0f1e38248c1181 /resources | |
parent | c467a6b275ccc21291747ec4b336a2c767d0efe3 (diff) | |
download | libreboot-60794355b970cb931bfe9e893961591d11220b2d.zip libreboot-60794355b970cb931bfe9e893961591d11220b2d.tar.gz libreboot-60794355b970cb931bfe9e893961591d11220b2d.tar.bz2 |
grub.cfg cbfs: put set root and unset superusers in the submenu
Diffstat (limited to 'resources')
-rw-r--r-- | resources/grub/config/menuentries/common.cfg | 4 |
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 |