aboutsummaryrefslogtreecommitdiff
path: root/resources/grub/config/menuentries/common.cfg
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2016-09-07 21:24:25 +0100
committerLeah Rowe <info@minifree.org>2016-09-07 21:24:25 +0100
commita37cbe2273974ea0b9f0b976efd0171b1e2482ce (patch)
treeece8def78cecf46731f9e5ac3546a70b2ec77d91 /resources/grub/config/menuentries/common.cfg
parentc19098fb850e8de9e171051bed43b2a6d2d8572a (diff)
downloadlibrebootfr-a37cbe2273974ea0b9f0b976efd0171b1e2482ce.tar.gz
librebootfr-a37cbe2273974ea0b9f0b976efd0171b1e2482ce.zip
grub.cfg: unset supervisors (needed for some users, was in older lb releases)
Diffstat (limited to 'resources/grub/config/menuentries/common.cfg')
-rw-r--r--resources/grub/config/menuentries/common.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg
index b7272594..1748320a 100644
--- a/resources/grub/config/menuentries/common.cfg
+++ b/resources/grub/config/menuentries/common.cfg
@@ -3,6 +3,7 @@ function try_user_config {
for dir in boot grub grub2 boot/grub boot/grub2; do
for name in '' autoboot_ libreboot_ coreboot_; do
if [ -f /"${dir}"/"${name}"grub.cfg ]; then
+ unset supervisors
configfile /"${dir}"/"${name}"grub.cfg
fi
done