aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-04-06 15:19:21 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-04-06 15:19:21 -0700
commit2920515b1fe5dbf20cfa2f2890b154cd147831ec (patch)
treeb60d63da0dc91bfd3b134233319b4ee19fc0873a /doc
parentc2636af9b7f4b170ffe791d5008fe6bdd822a59b (diff)
downloadsyslinux.git-2920515b1fe5dbf20cfa2f2890b154cd147831ec.tar.gz
syslinux.git-2920515b1fe5dbf20cfa2f2890b154cd147831ec.tar.xz
syslinux.git-2920515b1fe5dbf20cfa2f2890b154cd147831ec.zip
Implement MENU SAVE; fix COM32 setadv functionsyslinux-3.74-pre18
Implement MENU SAVE, which allows the menu system to retain the previous selection from one boot to another. In the process, fix the syslinux_setadv() function. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/menu.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/menu.txt b/doc/menu.txt
index 379df321..72bc9dca 100644
--- a/doc/menu.txt
+++ b/doc/menu.txt
@@ -48,6 +48,12 @@ MENU HIDDEN
All that is displayed is a timeout message.
+MENU SHIFTKEY
+
+ Exit the menu system immediately unless either the Shift or Alt
+ key is pressed, or Caps Lock or Scroll Lock is set.
+
+
MENU SEPARATOR
Insert an empty line in the menu.
@@ -269,6 +275,23 @@ DEFAULT label
non-label. The menu system does not support that.
+MENU SAVE
+
+ Remember the last entry selected and make that the default for
+ the next boot. A password-protected menu entry is *not*
+ saved. This requires the ADV data storage mechanism, which is
+ currently only implemented for EXTLINUX, although the other
+ Syslinux derivatives will accept the command (and ignore it.)
+
+ NOTE: MENU SAVE stores the LABEL tag of the selected entry;
+ this mechanism therefore relies on LABEL tags being unique.
+ On the other hand, it handles changes in the configuration
+ file gracefully.
+
+ The MENU SAVE information can be cleared with
+ "extlinux --reset-adv".
+
+
INCLUDE filename [tagname]
MENU INCLUDE filename [tagname]