]> TLD Linux GIT Repositories - packages/busybox.git/blob - busybox-logconsole.patch
- merged 1.31.1 from PLD
[packages/busybox.git] / busybox-logconsole.patch
1 --- busybox-1.29.3/include/libbb.h~     2018-12-16 11:20:56.000000000 +0100
2 +++ busybox-1.29.3/include/libbb.h      2018-12-16 11:22:32.895687694 +0100
3 @@ -2095,6 +2095,7 @@ extern const char bb_default_login_shell
4  # define VC_3 "/dev/tty3"
5  # define VC_4 "/dev/tty4"
6  # define VC_5 "/dev/tty5"
7 +# define VC_12 "/dev/tty12"
8  # define VC_FORMAT "/dev/tty%d"
9  #elif ENABLE_FEATURE_DEVFS
10  /*Linux, obsolete devfs names */
11 --- busybox-1.29.3/init/init.c~ 2018-07-02 13:23:06.000000000 +0200
12 +++ busybox-1.29.3/init/init.c  2018-12-16 11:21:50.307764617 +0100
13 @@ -221,7 +221,7 @@ struct globals {
14  #define G (*(struct globals*)bb_common_bufsiz1)
15  #define INIT_G() do { \
16         setup_common_bufsiz(); \
17 -       IF_NOT_FEATURE_INIT_SYSLOG(G.log_console = VC_5;) \
18 +       IF_NOT_FEATURE_INIT_SYSLOG(G.log_console = VC_12;) \
19  } while (0)
20  
21  enum {