Generate static loopback.cfg configuration without depending on GRUB's regexp module
[grml-live.git] / templates / boot / grub / grub.cfg
index aba78da..40faccc 100644 (file)
@@ -1,29 +1,5 @@
 ## grub2 configuration
-set default=0
-set timeout=20
-
-if loadfont /boot/grub/ascii.pf2 ; then
-   insmod png
-   set gfxmode=auto
-   insmod gfxterm
-   insmod vbe
-   terminal_output gfxterm
-fi
-
-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
+source /boot/grub/header.cfg
 
 insmod regexp