Page MenuHomeFreeBSD

D26574.id77603.diff
No OneTemporary

D26574.id77603.diff

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

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)

Event Timeline