Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110651228
D26574.id77603.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
898 B
Referenced Files
None
Subscribers
None
D26574.id77603.diff
View Options
Index: head/sys/kern/init_main.c
===================================================================
--- head/sys/kern/init_main.c
+++ head/sys/kern/init_main.c
@@ -715,6 +715,14 @@
/* Wipe GELI passphrase from the environment. */
kern_unsetenv("kern.geom.eli.passphrase");
+ /* For Multicons, report which console is primary to both */
+ if (boothowto & RB_MULTIPLE) {
+ if (boothowto & RB_SERIAL)
+ printf("Dual Console: Serial Primary, Video Secondary\n");
+ else
+ printf("Dual Console: Video Primary, Serial Secondary\n");
+ }
+
if ((var = kern_getenv("init_path")) != NULL) {
strlcpy(init_path, var, sizeof(init_path));
freeenv(var);
@@ -724,7 +732,7 @@
while ((path = strsep(&tmp_init_path, ":")) != NULL) {
if (bootverbose)
printf("start_init: trying %s\n", path);
-
+
memset(&args, 0, sizeof(args));
error = exec_alloc_args(&args);
if (error != 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 11:26 AM (1 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16770498
Default Alt Text
D26574.id77603.diff (898 B)
Attached To
Mode
D26574: For mulitcons boot, report it and which console is primary
Attached
Detach File
Event Timeline
Log In to Comment