summaryrefslogtreecommitdiff
path: root/resources/grub/config/grub.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'resources/grub/config/grub.cfg')
-rw-r--r--resources/grub/config/grub.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/grub/config/grub.cfg b/resources/grub/config/grub.cfg
index b4d222cb..7d889989 100644
--- a/resources/grub/config/grub.cfg
+++ b/resources/grub/config/grub.cfg
@@ -23,6 +23,14 @@ terminal_output --append cbmemc
gfxpayload=keep
terminal_output --append gfxterm
+if [ -f (cbfsdisk)/background.png ]; then
+ insmod png
+ background_image (cbfsdisk)/background.png
+elif [ -f (cbfsdisk)/background.jpg ]; then
+ insmod jpeg
+ background_image (cbfsdisk)/background.jpg
+fi
+
# Default to first option, automatically boot after 1 second
set default="0"
set timeout=10