[syslinux] patch, doc/syslinux.txt: Explicitly stating that a label can be set for DEFAULT
regid23 at yahoo.com
Sun Nov 27 08:38:37 PST 2011
Now I noticed that DEFAULT label is mentioned in doc/menu.txt.
Is this better:
--- 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,9 @@ 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 label can be stated instead of
+ kernel options... . The LABEL directive is described below.
+ doc/menu.txt also describes 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
--- 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.
More information about the Syslinux