]> git.pld-linux.org Git - packages/busybox.git/blame - busybox-logconsole.patch
- add initial support for amd64
[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
25@@ -157,7 +157,7 @@
26 static char console[CONSOLE_BUFF_SIZE] = _PATH_CONSOLE;
27
28 #ifndef CONFIG_SYSLOGD
29-static char *log = VC_5;
30+static char *log = VC_12;
31 #endif
32 static sig_atomic_t got_cont = 0;
33 static const int LOG = 0x1;
This page took 0.066195 seconds and 4 git commands to generate.