* added the Unlicense as valid in misc/share/REGISTER
[t2sde.git] / package / init / sysvinit / agetty-defaults.patch
blobc9f154070c464e4f81f7d2543b96be15b4461cc8
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/sysvinit/agetty-defaults.patch
3 # Copyright (C) 2023 - 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 Default to a modern TERM for 99.999% users running this in Xterm and the like.
16 --- sysvinit-3.04/src/init.c.vanilla 2023-12-16 13:32:43.246059867 +0100
17 +++ sysvinit-3.04/src/init.c 2023-12-16 13:38:20.303045478 +0100
18 @@ -1407,7 +1407,7 @@
19 ch->action = RESPAWN;
20 strcpy(ch->id, id);
21 strcpy(ch->rlevel, "2345");
22 - sprintf(ch->process, "/sbin/agetty -L -s 115200,38400,9600 %s vt102", dev);
23 + sprintf(ch->process, "/sbin/agetty -L -J %s linux", dev);
24 ch->next = NULL;
25 for(old = family; old; old = old->next) {
26 if (strcmp(old->id, ch->id) == 0) {