2010-06-28 Robert Millan <rmh@gnu.org>

* util/grub-mkconfig.in: Export `GRUB_BADRAM' variable.
	* util/grub.d/00_header.in: When `GRUB_BADRAM' is set, issue badram
	command using ${GRUB_BADRAM} as parameter.
This commit is contained in:
Robert Millan 2010-06-28 23:52:03 +02:00
parent 20bc84a6ff
commit d500ed127e
3 changed files with 14 additions and 6 deletions

View file

@ -255,8 +255,9 @@ fi
# Play an initial tune
if [ "x${GRUB_INIT_TUNE}" != "x" ] ; then
cat << EOF
insmod play
play ${GRUB_INIT_TUNE}
EOF
echo "play ${GRUB_INIT_TUNE}"
fi
if [ "x${GRUB_BADRAM}" != "x" ] ; then
echo "badram ${GRUB_BADRAM}"
fi