summaryrefslogtreecommitdiffstats
path: root/grub.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'grub.tpl')
-rw-r--r--grub.tpl15
1 files changed, 14 insertions, 1 deletions
diff --git a/grub.tpl b/grub.tpl
index 6b28e0f..d87c50b 100644
--- a/grub.tpl
+++ b/grub.tpl
@@ -22,9 +22,17 @@ 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
+ loadfont $prefix/theme/dejavusansmono24.pf2
+ loadfont $prefix/theme/dejavusansmono20.pf2
loadfont $prefix/theme/dejavusansmono10.pf2
loadfont $prefix/theme/dejavusansmono5.pf2
set gfxmode=1024x768,800x600,640x480,auto
@@ -40,7 +48,7 @@ if loadfont $prefix/theme/dejavusansmono12.pf2 ; then
export theme
fi
-menuentry "Start @CDISTRO@@DIRSUFFIX@ @SL_VERSION@ @LIVEDE@ Live @VERSION@ ($sl_lang)" --hotkey b {
+menuentry "Start @CDISTRO@@DIRSUFFIX@ @SL_VERSION@ @LIVEDE@ liveslak-@VERSION@ ($sl_lang)" --hotkey b {
linux ($root)/boot/generic @KAPPEND@ load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=$sl_kbd tz=$sl_tz locale=$sl_locale xkb=$sl_xkb
initrd ($root)/boot/initrd.img
}
@@ -67,3 +75,8 @@ menuentry "Help on boot parameters" --hotkey h {
unset pager
}
+@C2RMS@menuentry "Console OS in RAM ($sl_lang)" --hotkey c {
+@C2RMS@ linux ($root)/boot/generic @KAPPEND@ load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=$sl_kbd tz=$sl_tz locale=$sl_locale xkb=$sl_xkb toram=core 3
+@C2RMS@ initrd ($root)/boot/initrd.img
+@C2RMS@}
+