]> git.pld-linux.org Git - packages/busybox.git/blame - busybox-logconsole.patch
- up to 1.5.0
[packages/busybox.git] / busybox-logconsole.patch
CommitLineData
dd21d438
AM
1diff -urN busybox-1.00-pre2/include/libbb.h busybox-1.00-pre2.org/include/libbb.h
2--- busybox-1.00-pre2/include/libbb.h 2003-08-02 23:40:57.000000000 +0200
3+++ busybox-1.00-pre2.org/include/libbb.h 2003-08-02 23:45:09.000000000 +0200
4@@ -346,7 +346,7 @@
4c6ebd20 5 # define VC_2 "/dev/vc/2"
6 # define VC_3 "/dev/vc/3"
7 # define VC_4 "/dev/vc/4"
8-# define VC_5 "/dev/vc/5"
9+# define VC_12 "/dev/vc/12"
dd21d438
AM
10 #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
11 /* Yes, this sucks, but both SH (including sh64) and H8 have a SCI(F) for their
12 respective serial ports .. as such, we can't use the common device paths for
13@@ -367,7 +367,7 @@
4c6ebd20 14 # define VC_2 "/dev/tty2"
15 # define VC_3 "/dev/tty3"
16 # define VC_4 "/dev/tty4"
17-# define VC_5 "/dev/tty5"
18+# define VC_12 "/dev/tty12"
dd21d438
AM
19 #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
20 # define SC_0 "/dev/ttySC0"
21 # define SC_1 "/dev/ttySC1"
22diff -urN busybox-1.00-pre2/init/init.c busybox-1.00-pre2.org/init/init.c
23--- busybox-1.00-pre2/init/init.c 2003-08-02 23:40:57.000000000 +0200
24+++ busybox-1.00-pre2.org/init/init.c 2003-08-02 23:45:30.000000000 +0200
316ae9e2
AM
25@@ -85,7 +85,7 @@
26 static struct init_action *init_action_list = NULL;
dd21d438 27
316ae9e2
AM
28 #if !ENABLE_FEATURE_INIT_SYSLOG
29-static const char *log_console = VC_5;
30+static const char *log_console = VC_12;
dd21d438 31 #endif
d04c3dcc 32 #if !ENABLE_DEBUG_INIT
dd21d438 33 static sig_atomic_t got_cont = 0;
316ae9e2 34
This page took 0.024864 seconds and 4 git commands to generate.