1 Our sysvinit spawns an extra agetty for each cmdline console=, so let's
2 not bother adding non serial ones. Don't at pointless to us TERM= either.
4 Clean up boot messages, by removing rather uninteresting console= note, too.
6 --- palo-2.24/ipl/ipl.c.vanilla 2023-12-16 22:42:27.091651840 +0100
7 +++ palo-2.24/ipl/ipl.c 2023-12-16 22:45:31.157643983 +0100
9 /* add the right console= if there isn't one yet */
10 if (strstr(commandline, " console=") == 0)
13 printf("\nInformation: No console specified on kernel command line."
14 " This is normal.\nPALO will choose the console currently"
15 " used by firmware ");
18 - chk_strcat(commandline, " console=", CMDLINELEN, &ok);
19 if (pdc_cons_duplex())
23 if(pdc_cons_mux(&is_mux) != PDC_OK)
24 printf("Information: The PDC calls to query the console device failed. Assuming console=ttyS0\n");
26 + chk_strcat(commandline, " console=", CMDLINELEN, &ok);
28 chk_strcat(commandline, "ttyB0", CMDLINELEN, &ok);
30 chk_strcat(commandline, get_default_serial_console(), CMDLINELEN, &ok);
32 - if (strstr(commandline, " TERM=") == 0)
33 - chk_strcat(commandline, " TERM=vt102", CMDLINELEN, &ok);
34 + //if (strstr(commandline, " TERM=") == 0)
35 + //chk_strcat(commandline, " TERM=vt102", CMDLINELEN, &ok);
39 printf("(graphics).\n");
40 - chk_strcat(commandline, "tty0", CMDLINELEN, &ok);
41 + //chk_strcat(commandline, "tty0", CMDLINELEN, &ok);
42 if (strstr(commandline, " sti=") == 0)
47 if (strstr(commandline, " sti_font=") == 0)
48 chk_strcat(commandline, " sti_font=VGA8x16", CMDLINELEN, &ok);
49 - if (strstr(commandline, " TERM=") == 0)
50 - chk_strcat(commandline, " TERM=linux", CMDLINELEN, &ok);
51 + //if (strstr(commandline, " TERM=") == 0)
52 + //chk_strcat(commandline, " TERM=linux", CMDLINELEN, &ok);