X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=templates%2Fboot%2Fgrub%2Fgrub.cfg;h=d290dd8b8350a42dcde551712204892faf6b9576;hp=71f7e318b3d5e0eabdc0dc68a34cf5380fd89783;hb=b81f460b30123f3abc8a5e73a5fcf5b5bc10975d;hpb=a9f099a853e5c4c02cdb031ed43c9633a69b6c08 diff --git a/templates/boot/grub/grub.cfg b/templates/boot/grub/grub.cfg index 71f7e31..d290dd8 100644 --- a/templates/boot/grub/grub.cfg +++ b/templates/boot/grub/grub.cfg @@ -10,11 +10,8 @@ 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 else set menu_color_normal=white/black set menu_color_highlight=black/yellow @@ -24,6 +21,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