X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=templates%2Fboot%2Fgrub%2Fgrub.cfg;h=a606fe551c4f5bbe5fe3707601dd59173f7ec574;hb=1684dab78f944c3b8d6d97841174ea3afd8699ae;hp=71f7e318b3d5e0eabdc0dc68a34cf5380fd89783;hpb=a9f099a853e5c4c02cdb031ed43c9633a69b6c08;p=grml-live.git diff --git a/templates/boot/grub/grub.cfg b/templates/boot/grub/grub.cfg index 71f7e31..a606fe5 100644 --- a/templates/boot/grub/grub.cfg +++ b/templates/boot/grub/grub.cfg @@ -10,7 +10,9 @@ if loadfont /boot/grub/ascii.pf2 ; then terminal_output gfxterm fi -if background_image /boot/grub/grml.png ; then +if [ -f /boot/grub/grml-theme/theme.txt ] ; then + set theme=/boot/grub/grml-theme/theme.txt +elif background_image /boot/grub/grml.png ; then set color_normal=white/black set color_highlight=red/black set menu_color_normal=white/black @@ -24,6 +26,8 @@ if [ ${iso_path} ] ; then set loopback="findiso=${iso_path}" fi +insmod regexp + for config in /boot/grub/*_default.cfg ; do source "$config" ; done for config in /boot/grub/*_options.cfg ; do source "$config" ; done source /boot/grub/addons.cfg