projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Export environment variables for submenues.
[grml-live.git]
/
templates
/
boot
/
grub
/
grub.cfg
diff --git
a/templates/boot/grub/grub.cfg
b/templates/boot/grub/grub.cfg
index
d290dd8
..
aba78da
100644
(file)
--- a/
templates/boot/grub/grub.cfg
+++ b/
templates/boot/grub/grub.cfg
@@
-12,13
+12,17
@@
fi
if [ -f /boot/grub/grml-theme/theme.txt ] ; then
set theme=/boot/grub/grml-theme/theme.txt
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
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}"
fi
if [ ${iso_path} ] ; then
set loopback="findiso=${iso_path}"
+ export loopback
fi
insmod regexp
fi
insmod regexp