grub/grub2-1.97-sysconfig.patch

15 lines
508 B
Diff
Raw Normal View History

diff -Nru grub-1.97.orig/util/grub-mkconfig.in grub-1.97/util/grub-mkconfig.in
--- grub-1.97.orig/util/grub-mkconfig.in 2009-09-10 21:04:43.000000000 +0200
+++ grub-1.97/util/grub-mkconfig.in 2009-10-26 05:10:55.000000000 +0100
@@ -134,6 +134,10 @@
. ${sysconfdir}/default/grub
fi
+if test -f ${sysconfdir}/sysconfig/grub ; then
+ . ${sysconfdir}/sysconfig/grub
+fi
+
# XXX: should this be deprecated at some point?
if [ "x${GRUB_TERMINAL}" != "x" ] ; then
GRUB_TERMINAL_INPUT="${GRUB_TERMINAL}"