* updated kmousetool (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / base / sysvinit / autocon.patch
blobaceff6b25d1e8276d445e7478d678b2ab0fbecdb
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/sysvinit/autocon.patch
3 # Copyright (C) 2021 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 --- sysvinit-3.00/src/init.c.vanilla 2021-12-01 11:26:25.620000256 +0100
15 +++ sysvinit-3.00/src/init.c 2021-12-01 11:28:49.812000325 +0100
16 @@ -1366,7 +1366,7 @@
18 if (fgets(buf, sizeof(buf), fp)) {
19 char* p = buf;
20 - if ( strstr(p, "init.autocon=1") )
21 + if (!strstr(p, "init.autocon=0"))
23 while ((p = strstr(p, "console="))) {
24 char* e;