summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-19 16:25:26 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-19 16:51:24 -0800
commit8f6e112074e1b189bb229583e29270248be36989 (patch)
tree4b3acbf4930e2c5da7b82f4cea08f561353b5dd1 /doc
parente2bfd46bfc6372501d9379f5251bd97cce04ff3c (diff)
downloadsyslinux-8f6e112074e1b189bb229583e29270248be36989.tar.gz
Document hierarchial menus so far...
Diffstat (limited to 'doc')
-rw-r--r--doc/menu.doc36
1 files changed, 34 insertions, 2 deletions
diff --git a/doc/menu.doc b/doc/menu.doc
index 5fba0f2c..d3c211fd 100644
--- a/doc/menu.doc
+++ b/doc/menu.doc
@@ -93,7 +93,7 @@ MENU DISABLE
for example:
# Entries for network boots
- LABEL
+ LABEL -
MENU LABEL Network:
MENU DISABLE
@@ -115,7 +115,7 @@ MENU DISABLE
MENU SEPARATOR
# Entries for local boots
- LABEL
+ LABEL -
MENU LABEL Local:
MENU DISABLE
@@ -152,6 +152,7 @@ Help text ...
ENDTEXT
(Only valid after a LABEL statement.)
+
Specifies a help text that should be displayed when a particular
selection is highlighted.
@@ -193,6 +194,37 @@ MENU BACKGROUND background
format.
+MENU BEGIN [tagname]
+MENU END
+
+ Begin/end a submenu. The entries between MENU BEGIN and MENU
+ END form a submenu, which is marked with a > mark on the right
+ hand of the screen. Submenus inherit the properties of their
+ parent menus, but can override them, and can thus have their
+ own backgrounds, master passwords, titles, timeouts, messages
+ and so forth.
+
+
+MENU GOTO tagname
+
+ (Only valid after a LABEL statement.)
+
+ This label will transfer to the named submenu instead of
+ booting anything. To transfer to the top-level menu, specify
+ "menu goto .top".
+
+
+MENU QUIT
+
+ (Only valid after a LABEL statement.)
+
+ This label quits the menu system.
+
+ WARNING: if MENU MASTER PASSWD or ALLOWOPTIONS 0 is set, this
+ will still allow exiting to the CLI; however, a separate MENU
+ PASSWD can of course be set for this label.
+
+
INCLUDE filename
MENU INCLUDE filename