Next: submenu, Up: Menu-specific commands [Contents][Index]
This defines a GRUB menu entry named title. When this entry is
selected from the menu, GRUB will set the chosen environment variable
to title, execute the list of commands given within braces, and if the
last command in the list returned successfully and a kernel was loaded it
will execute the boot
command.
The --class option may be used any number of times to group menu entries into classes. Menu themes may display different classes using different styles.
The --users option grants specific users access to specific menu entries. See Security.
The --unrestricted option grants all users access to specific menu entries. See Security.
The --hotkey option associates a hotkey with a menu entry. key may be a single letter, or one of the aliases ‘backspace’, ‘tab’, or ‘delete’.