[syslinux] patch, doc/syslinux.txt: Explicitly stating that a label can be set for DEFAULT
jhutz at cmu.edu
Sun Nov 27 21:02:06 PST 2011
On Sun, 2011-11-27 at 08:38 -0800, Regid Ichira wrote:
> --- a/doc/menu.txt 2011-04-19 00:24:17.000000000 +0300
> +++ b/doc/menu.txt 2011-11-27 17:36:02.000000000 +0200
> @@ -306,9 +306,9 @@ DEFAULT label
> directive has the same effect as both MENU DEFAULT and MENU
> - For backwards compatibility with earlier versions of Syslinux,
> - this directive is ignored unless the configuration file also
> - contains a UI directive.
> + Some earlier versions of Syslinux used to ignore this
> + directive unless the configuration file also contains a UI
> + directive. This is no longer the case.
> Note: the CLI accepts options after the label, or even a
> non-label. The menu system does not support that.
No. The simple menu system, which is the component documented in
menu.txt, obeys the DEFAULT directive only if a UI directive is present.
Otherwise the menu system ignores this directive. This is necessary to
avoid a potential loop with config files which use the DEFAULT directive
to invoke the menu system, which was the usual way of doing so prior to
the introduction of the UI directive.
More information about the Syslinux