]> git.pld-linux.org Git - packages/busybox.git/blob - busybox-logconsole.patch
- 0.60.5
[packages/busybox.git] / busybox-logconsole.patch
1 diff -urN busybox-0.60.1/init.c busybox-0.60.1.new/init.c
2 --- busybox-0.60.5/init.c.orig  Tue Oct 22 21:15:43 2002
3 +++ busybox-0.60.5/init.c       Sun Oct 27 12:19:38 2002
4 @@ -160,7 +160,7 @@
5  static char termType[32]   = "TERM=linux";
6  static char console[32]    = _PATH_CONSOLE;
7  #ifndef BB_SYSLOGD
8 -static char *log           = VC_5;
9 +static char *log           = VC_12;
10  #endif
11  static sig_atomic_t got_cont = 0;
12  static const int LOG = 0x1;
13 diff -urN busybox-0.60.1/libbb/libbb.h busybox-0.60.1.new/libbb/libbb.h
14 --- busybox-0.60.1/libbb/libbb.h        Fri Aug 24 00:14:31 2001
15 +++ busybox-0.60.1.new/libbb/libbb.h    Tue Aug 28 22:57:57 2001
16 @@ -301,7 +301,7 @@
17  # define VC_2 "/dev/vc/2"
18  # define VC_3 "/dev/vc/3"
19  # define VC_4 "/dev/vc/4"
20 -# define VC_5 "/dev/vc/5"
21 +# define VC_12 "/dev/vc/12"
22  # define SC_0 "/dev/tts/0"
23  # define SC_1 "/dev/tts/1"
24  # define VC_FORMAT "/dev/vc/%d"
25 @@ -312,7 +312,7 @@
26  # define VC_2 "/dev/tty2"
27  # define VC_3 "/dev/tty3"
28  # define VC_4 "/dev/tty4"
29 -# define VC_5 "/dev/tty5"
30 +# define VC_12 "/dev/tty12"
31  # define SC_0 "/dev/ttyS0"
32  # define SC_1 "/dev/ttyS1"
33  # define VC_FORMAT "/dev/tty%d"
This page took 0.0713 seconds and 4 git commands to generate.