X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=templates%2Fboot%2Fgrub%2Fgrub.cfg;h=aba78da7af472e58e90a29829c96c9374a8ab485;hp=71f7e318b3d5e0eabdc0dc68a34cf5380fd89783;hb=d85f8204d52f151f1bd139985b8714c1723b7bb0;hpb=a9f099a853e5c4c02cdb031ed43c9633a69b6c08 diff --git a/templates/boot/grub/grub.cfg b/templates/boot/grub/grub.cfg index 71f7e31..aba78da 100644 --- a/templates/boot/grub/grub.cfg +++ b/templates/boot/grub/grub.cfg @@ -10,20 +10,23 @@ if loadfont /boot/grub/ascii.pf2 ; then terminal_output gfxterm fi -if background_image /boot/grub/grml.png ; then - set color_normal=white/black - set color_highlight=red/black - set menu_color_normal=white/black - set menu_color_highlight=black/yellow +if [ -f /boot/grub/grml-theme/theme.txt ] ; then + set theme=/boot/grub/grml-theme/theme.txt + export theme else set menu_color_normal=white/black set menu_color_highlight=black/yellow + export menu_color_normal + export menu_color_highlight fi if [ ${iso_path} ] ; then set loopback="findiso=${iso_path}" + export loopback 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