summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/libi386/bootinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/libi386/bootinfo.c')
-rw-r--r--sys/boot/i386/libi386/bootinfo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/boot/i386/libi386/bootinfo.c b/sys/boot/i386/libi386/bootinfo.c
index 63be83f..05d28d1 100644
--- a/sys/boot/i386/libi386/bootinfo.c
+++ b/sys/boot/i386/libi386/bootinfo.c
@@ -88,6 +88,9 @@ bi_getboothowto(char *kargs)
case 'd':
howto |= RB_KDB;
break;
+ case 'm':
+ howto |= RB_MUTE;
+ break;
case 'g':
howto |= RB_GDB;
break;
@@ -116,6 +119,8 @@ bi_getboothowto(char *kargs)
howto |= howto_names[i].mask;
if (!strcmp(getenv("console"), "comconsole"))
howto |= RB_SERIAL;
+ if (!strcmp(getenv("console"), "nullconsole"))
+ howto |= RB_MUTE;
return(howto);
}
OpenPOWER on IntegriCloud