aboutsummaryrefslogtreecommitdiff
path: root/projects/grub/install/txtmode/grub.cfg
diff options
context:
space:
mode:
authorSwift Geek <swiftgeek@gmail.com>2017-08-10 01:37:54 +0000
committerGogs <gogitservice@gmail.com>2017-08-10 01:37:54 +0000
commitd48e10a17d0d862d7ccdfea84bb67e12003176ea (patch)
treef082f7b3ba7784454ced47a37e2eb0416a6e9ab6 /projects/grub/install/txtmode/grub.cfg
parent3a6887be5bc5382d3c25db8503d047255c67400d (diff)
parente712aa5b92bd2553431a1fe5ccf233f7c4068d3f (diff)
downloadlibrebootfr-d48e10a17d0d862d7ccdfea84bb67e12003176ea.tar.gz
librebootfr-d48e10a17d0d862d7ccdfea84bb67e12003176ea.zip
Merge branch 'x86-integration' of kragle/libreboot into master
Diffstat (limited to 'projects/grub/install/txtmode/grub.cfg')
-rw-r--r--projects/grub/install/txtmode/grub.cfg14
1 files changed, 5 insertions, 9 deletions
diff --git a/projects/grub/install/txtmode/grub.cfg b/projects/grub/install/txtmode/grub.cfg
index c668544b..90946c01 100644
--- a/projects/grub/install/txtmode/grub.cfg
+++ b/projects/grub/install/txtmode/grub.cfg
@@ -1,5 +1,3 @@
-set prefix=(memdisk)/boot/grub
-
insmod nativedisk
insmod ehci
insmod ohci
@@ -16,16 +14,14 @@ terminal_input --append serial
terminal_output --append serial
terminal_input --append at_keyboard
terminal_output --append cbmemc
-
-gfxpayload=keep
terminal_output --append gfxterm
-# Default to first option, automatically boot after 1 second
-set default="0"
-set timeout=1
+load_env --file (cbfsdisk)/grubenv
-# This is useful when using 'cat' on long files on GRUB terminal
-set pager=1
+# User's preferred keyboard layout
+if [ -n "${keymap}" ]; then
+ keymap "${keymap}"
+fi
function try_user_config {
set root="${1}"