summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch
blob: 19ecbf96c69d3a964575327781bdaf55af937c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Index: linux-2.6.28/init/main.c
===================================================================
--- linux-2.6.28.orig/init/main.c	2009-01-03 13:03:03.000000000 +0100
+++ linux-2.6.28/init/main.c	2009-01-03 13:03:14.000000000 +0100
@@ -825,6 +825,7 @@ static int noinline init_post(void)
 		printk(KERN_WARNING "Failed to execute %s.  Attempting "
 					"defaults...\n", execute_command);
 	}
+	run_init_process("/etc/preinit");
 	run_init_process("/sbin/init");
 	run_init_process("/etc/init");
 	run_init_process("/bin/init");