summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.23
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-01-25 18:45:40 +0000
committerJohn Crispin <john@openwrt.org>2008-01-25 18:45:40 +0000
commit62963b1ce2023864baa553cd171310c3d5dacbbc (patch)
treef4c3ad5634c3274faf5b867238c6f9ff00c3dd80 /target/linux/generic-2.6/patches-2.6.23
parent74f9f70ab74f224bd6031ebff36c6c0b69b616a8 (diff)
downloadmtk-20170518-62963b1ce2023864baa553cd171310c3d5dacbbc.zip
mtk-20170518-62963b1ce2023864baa553cd171310c3d5dacbbc.tar.gz
mtk-20170518-62963b1ce2023864baa553cd171310c3d5dacbbc.tar.bz2
change annoying\unavble to open console" warning
SVN-Revision: 10257
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.23')
-rw-r--r--target/linux/generic-2.6/patches-2.6.23/700-unable_to_open_console.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.23/700-unable_to_open_console.patch b/target/linux/generic-2.6/patches-2.6.23/700-unable_to_open_console.patch
new file mode 100644
index 0000000..332f5a5
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.23/700-unable_to_open_console.patch
@@ -0,0 +1,13 @@
+Index: linux-2.6.23.14/init/main.c
+===================================================================
+--- linux-2.6.23.14.orig/init/main.c 2008-01-25 19:12:45.000000000 +0100
++++ linux-2.6.23.14/init/main.c 2008-01-25 19:12:52.000000000 +0100
+@@ -780,7 +780,7 @@
+ numa_default_policy();
+
+ if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
+- printk(KERN_WARNING "Warning: unable to open an initial console.\n");
++ printk(KERN_WARNING "Please be patient, while OpenWrt loads ...\n");
+
+ (void) sys_dup(0);
+ (void) sys_dup(0);