summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.6.11/startup.patch
blob: 88766dfe6823b3f2e026a3a1bb708d7662687948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -Nur linux-3.6.11.orig/init/main.c linux-3.6.11/init/main.c
--- linux-3.6.11.orig/init/main.c	2012-12-17 18:27:45.000000000 +0100
+++ linux-3.6.11/init/main.c	2013-07-16 11:34:37.000000000 +0200
@@ -829,6 +829,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");
@@ -873,6 +874,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);
 	/*