aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/general.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-03-29 00:05:22 +0100
committerMichael Brown <mcb30@ipxe.org>2012-03-29 14:02:02 +0100
commit3425726cf33c2af84c9737a2501cd39517e42cdb (patch)
treeb08cd61419fad6e16de7e9329d91540e99a6a980 /src/config/general.h
parent493f1945314cf74c10ffb77b96667b9f725bc5c4 (diff)
downloadipxe-3425726cf33c2af84c9737a2501cd39517e42cdb.tar.gz
[menu] Add menu commands
Allow iPXE scripts to create menus. For example: #!ipxe menu iSCSI boot demonstration item install Install Fedora to ${root-path} item --default boot Boot from ${root-path} item shell Enter iPXE shell item exit Exit to BIOS choose label && goto ${label} :boot sanboot ${root-path} :install sanhook ${root-path} chain http://${next-server}/fedora.ipxe :shell shell :exit Inspired-by: Robin Smidsrød <robin@smidsrod.no> Tested-by: Robin Smidsrød <robin@smidsrod.no> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/general.h')
-rw-r--r--src/config/general.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/general.h b/src/config/general.h
index a10696ee7..70742165c 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -119,6 +119,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define IMAGE_CMD /* Image management commands */
#define DHCP_CMD /* DHCP management commands */
#define SANBOOT_CMD /* SAN boot commands */
+#define MENU_CMD /* Menu commands */
#define LOGIN_CMD /* Login command */
//#define TIME_CMD /* Time commands */
//#define DIGEST_CMD /* Image crypto digest commands */