summaryrefslogtreecommitdiffstats
path: root/grub.tpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--grub.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/grub.tpl b/grub.tpl
index ead3a36..82ecf32 100644
--- a/grub.tpl
+++ b/grub.tpl
@@ -22,6 +22,12 @@ if [ -z "$sl_locale" ]; then
export sl_locale
fi
+# Check whether we are in a Secure Boot scenario:
+if [ "x$lockdown" != "x" ]; then
+ set check_signatures=enforce
+ export check_signatures
+fi
+
# Determine whether we can show a graphical themed menu:
insmod font
if loadfont $prefix/theme/dejavusansmono12.pf2 ; then