summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.30.5/startup.patch
blob: 1ef9a3d10b2f9f49b5f4375e3baa1f8a3900b9dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -Nur linux-2.6.30.5.orig/init/main.c linux-2.6.30.5/init/main.c
--- linux-2.6.30.5.orig/init/main.c	2009-08-16 23:19:38.000000000 +0200
+++ linux-2.6.30.5/init/main.c	2009-08-22 20:26:39.000000000 +0200
@@ -811,7 +811,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 "Starting Linux (build with OpenADK)");
 
 	(void) sys_dup(0);
 	(void) sys_dup(0);
@@ -835,6 +835,7 @@
 		printk(KERN_WARNING "Failed to execute %s.  Attempting "
 					"defaults...\n", execute_command);
 	}
+	run_init_process("/start");
 	run_init_process("/sbin/init");
 	run_init_process("/etc/init");
 	run_init_process("/bin/init");