3 source /usr
/lib
/grub
/grub-mkconfig_lib
8 set menu_color_normal=white/black
9 set menu_color_highlight=black/white
13 # check for usable backgrounds
15 if [ "$GRUB_TERMINAL_OUTPUT" = "gfxterm" ] ; then
16 for i
in {/boot
/grub
,/usr
/share
/images
/desktop-base
}/splash.
{png
,tga
} ; do
17 if is_path_readable_by_grub
$i ; then
22 *.jpg|
*.jpeg
) reader
=jpeg
;;
24 if test -e /boot
/grub
/${reader}.mod
; then
25 echo "Found background: `basename ${bg}`" >&2
33 # set the background if possible
35 prepare_grub_to_access_device
`${grub_probe} --target=device ${bg}`
38 if background_image `make_system_path_relative_to_its_root ${bg}` ;
40 set color_normal=black/black
41 set color_highlight=magenta/black
46 # otherwise, set a monochromatic theme for IPFire
48 set_mono_theme |
sed -e "s/^/ /g"