[syslinux] patch, doc/{syslinux, menu}.txt: Clarifying the DEFAULT directive

Regid Ichira regid23 at yahoo.com
Mon Nov 28 10:14:02 PST 2011


--- On Mon, 11/28/11, Jeffrey Hutzelman wrote:

> 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.
> 

--- a/doc/menu.txt    2011-04-19 00:24:17.000000000 +0300
+++ b/doc/menu.txt    2011-11-27 17:36:02.000000000 +0200
@@ -307,8 +307,8 @@ DEFAULT label
        START.

        For backwards compatibility with earlier versions of Syslinux,
-       this directive is ignored unless the configuration file also
-       contains a UI directive.
+       this directive is ignored only by the MENU system, unless the
+       configuration file also contains a UI directive.

        Note: the CLI accepts options after the label, or even a
        non-label.  The menu system does not support that.

--- a/doc/syslinux.txt 2011-04-19 00:24:17.000000000 +0300
+++ b/doc/syslinux.txt 2011-11-27 17:10:54.000000000 +0200
@@ -135,7 +135,10 @@ INCLUDE filename
 DEFAULT kernel options...
         Sets the default command line.  If Syslinux boots automatically,
         it will act just as if the entries after DEFAULT had been typed
-        in at the "boot:" prompt.
+        in at the "boot:" prompt.  A (CLI) label can be stated instead
+        of kernel options... .  The LABEL directive is described below.
+        doc/menu.txt also describes potential aspects of the DEFAULT
+        directive.

        If no configuration file is present, or no DEFAULT entry is
         present in the config file, an error message is displayed and





More information about the Syslinux mailing list