summaryrefslogtreecommitdiff
path: root/usr.sbin/installboot/installboot.c
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2004-03-13 22:51:50 +0000
committerdsl <dsl@NetBSD.org>2004-03-13 22:51:50 +0000
commit7b024ef69cdd2d187997f00ba734bee2c3a5533b (patch)
tree368a6107ee1d195a8f246f6ec02ab8ef3dd34ce2 /usr.sbin/installboot/installboot.c
parent95cdc0362c397f6c2b051555730c824e6184b7f5 (diff)
Add a -o keymap=zyz option that will set the boot keymap.
If a character in the map is typed, it gets replaced by the one following.
Diffstat (limited to 'usr.sbin/installboot/installboot.c')
-rw-r--r--usr.sbin/installboot/installboot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/installboot/installboot.c b/usr.sbin/installboot/installboot.c
index 05411d8b1f1..63c0c9c88de 100644
--- a/usr.sbin/installboot/installboot.c
+++ b/usr.sbin/installboot/installboot.c
@@ -1,4 +1,4 @@
-/* $NetBSD: installboot.c,v 1.14 2004/01/05 23:23:38 jmmv Exp $ */
+/* $NetBSD: installboot.c,v 1.15 2004/03/13 22:51:50 dsl Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: installboot.c,v 1.14 2004/01/05 23:23:38 jmmv Exp $");
+__RCSID("$NetBSD: installboot.c,v 1.15 2004/03/13 22:51:50 dsl Exp $");
#endif /* !__lint */
#include <sys/utsname.h>
@@ -82,6 +82,7 @@ const struct option {
{ "append", IB_APPEND, OPT_BOOL },
{ "command", IB_COMMAND, OPT_STRING, OFFSET(command) },
{ "console", IB_CONSOLE, OPT_WORD, OFFSET(console) },
+ { "keymap", IB_KEYMAP, OPT_WORD, OFFSET(keymap) },
{ "password", IB_PASSWORD, OPT_WORD, OFFSET(password) },
{ "resetvideo", IB_RESETVIDEO, OPT_BOOL },
{ "speed", IB_CONSPEED, OPT_INT, OFFSET(conspeed) },