summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortom <tom@openbsd.org>2004-06-24 17:10:17 +0000
committertom <tom@openbsd.org>2004-06-24 17:10:17 +0000
commit5b64512f4e7269a15809b5296b1ee86c2143fafa (patch)
tree84d336c991504070d0c055074ba803b25d872fe4
parentRemove some unused code. (diff)
downloadwireguard-openbsd-5b64512f4e7269a15809b5296b1ee86c2143fafa.tar.xz
wireguard-openbsd-5b64512f4e7269a15809b5296b1ee86c2143fafa.zip
Add comment explaining what "bootprompt" is for
-rw-r--r--sys/stand/boot/boot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/stand/boot/boot.c b/sys/stand/boot/boot.c
index 84e3885b22b..947c728dd39 100644
--- a/sys/stand/boot/boot.c
+++ b/sys/stand/boot/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.30 2004/01/29 00:54:08 tom Exp $ */
+/* $OpenBSD: boot.c,v 1.31 2004/06/24 17:10:17 tom Exp $ */
/*
* Copyright (c) 2003 Dale Rahn
@@ -49,6 +49,8 @@ char *progname = "BOOT";
extern const char version[];
struct cmd_state cmd;
+
+/* bootprompt can be set by MD code to avoid prompt first time round */
int bootprompt = 1;
void