Introduce new config files for grub bootloader.
[grml-live.git] / templates / boot / grub / grub.cfg
1 ## grub2 configuration
2 set default=0
3 set timeout=20
4
5 if loadfont /boot/grub/ascii.pf2 ; then
6    insmod png
7    set gfxmode=auto
8    insmod gfxterm
9    insmod vbe
10    terminal_output gfxterm
11 fi
12
13 if background_image /boot/grub/grml.png ; then
14   set color_normal=white/black
15   set color_highlight=red/black
16   set menu_color_normal=white/black
17   set menu_color_highlight=black/yellow
18 else
19   set menu_color_normal=white/black
20   set menu_color_highlight=black/yellow
21 fi
22
23 if [ ${iso_path} ] ; then
24     set loopback="findiso=${iso_path}"
25 fi
26
27 for config in /boot/grub/*_default.cfg ; do source "$config" ; done
28 for config in /boot/grub/*_options.cfg ; do source "$config" ; done
29 source /boot/grub/addons.cfg
30
31 source /boot/grub/footer.cfg
32 # EOF