summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.30/150-ignore-init-argument.patch
blob: 0150823241568520a0bf407d36b2b322910ff27c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/init/main.c
+++ b/init/main.c
@@ -830,11 +830,11 @@ static noinline int init_post(void)
 	 * The Bourne shell can be used instead of init if we are
 	 * trying to recover a really broken machine.
 	 */
-	if (execute_command) {
-		run_init_process(execute_command);
-		printk(KERN_WARNING "Failed to execute %s.  Attempting "
-					"defaults...\n", execute_command);
-	}
+	//if (execute_command) {
+	//	run_init_process(execute_command);
+	//	printk(KERN_WARNING "Failed to execute %s.  Attempting "
+	//				"defaults...\n", execute_command);
+	//}
 	run_init_process("/etc/preinit");
 
 	panic("No init found.  Try passing init= option to kernel.");