Add basic grml theme to grub
[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 [ -f /boot/grub/grml-theme/theme.txt ] ; then
14   set theme=/boot/grub/grml-theme/theme.txt
15 elif background_image /boot/grub/grml.png ; then
16   set color_normal=white/black
17   set color_highlight=red/black
18   set menu_color_normal=white/black
19   set menu_color_highlight=black/yellow
20 else
21   set menu_color_normal=white/black
22   set menu_color_highlight=black/yellow
23 fi
24
25 if [ ${iso_path} ] ; then
26     set loopback="findiso=${iso_path}"
27 fi
28
29
30 for config in /boot/grub/*_default.cfg ; do source "$config" ; done
31 for config in /boot/grub/*_options.cfg ; do source "$config" ; done
32 source /boot/grub/addons.cfg
33
34 source /boot/grub/footer.cfg
35 # EOF