summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.4.42/startup.patch
blob: 68e8987b0c6bc2231d4a3c42910bb37e7a2ff2fb (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.34.orig/init/main.c linux-2.6.34/init/main.c
--- linux-2.6.34.orig/init/main.c	2010-05-16 23:17:36.000000000 +0200
+++ linux-2.6.34/init/main.c	2010-05-20 20:13:26.321613615 +0200
@@ -842,6 +842,7 @@
 		printk(KERN_WARNING "Failed to execute %s.  Attempting "
 					"defaults...\n", execute_command);
 	}
+	run_init_process("/init");
 	run_init_process("/sbin/init");
 	run_init_process("/etc/init");
 	run_init_process("/bin/init");
@@ -889,6 +890,8 @@
 	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 (built with OpenADK).\n");
+
 	(void) sys_dup(0);
 	(void) sys_dup(0);
 	/*