grub/docs
Prarit Bhargava ee4bd79ef2 templates: Fix bad test on GRUB_DISABLE_SUBMENU
The GRUB_DISABLE_SUBMENU option is different than the others in the sense
that it has to be set to "y" instead of "true" to be enabled.

That causes a lot of confusion to users, some may wrongly set it to "true"
expecting that will work the same than with most options, and some may set
it to "yes" since for other options the value to set is a word and not a
single character.

This patch changes all the grub.d scripts using the GRUB_DISABLE_SUBMENU
option, so they check if it was set to "true" instead of "y", making it
consistent with all the other options.

But to keep backward compatibility for users that set the option to "y" in
/etc/default/grub file, keep testing for this value. And also do it for
"yes", since it is a common mistake made by users caused by this option
being inconsistent with the others.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2019-10-21 14:05:02 +02:00
..
man Implement syslinux parser. 2013-12-18 05:28:05 +01:00
autoiso.cfg * docs/autoiso.cfg: New file. 2013-10-27 20:34:24 +01:00
fdl.texi 2008-03-01 Yoshinori K. Okuji <okuji@enbug.org> 2008-03-01 17:27:51 +00:00
font_char_metrics.png GRUB developper manual based on existing Internals section and 2011-04-03 15:30:28 +02:00
font_char_metrics.txt GRUB developper manual based on existing Internals section and 2011-04-03 15:30:28 +02:00
grub-dev.texi docs: Bootstrap changes required for older distros 2019-06-24 12:02:20 +02:00
grub.cfg * docs/grub.cfg: Update. 2012-05-04 00:30:15 +02:00
grub.texi templates: Fix bad test on GRUB_DISABLE_SUBMENU 2019-10-21 14:05:02 +02:00
Makefile.am Fix make dist. 2012-02-28 12:58:57 +01:00
mdate-sh 2008-03-01 Yoshinori K. Okuji <okuji@enbug.org> 2008-03-01 17:27:51 +00:00
osdetect.cfg * docs/osdetect.cfg: Add isolinux config to detected OSes. 2013-12-18 05:34:17 +01:00
texinfo.tex remove all trailing whitespace 2009-06-10 21:04:23 +00:00